1. SSH into the server or via Terminal and create a MySQL user and database (this will be the user for the XBMC installations)
{{Code| hda-create-user-and-db xbmc}}
<!--1. SSH into the server or via Terminal and access the MySQL environment in order to create a user (this will be the user for the XBMC installations)
2.1 Open the OpenELEC SMB Share "Userdata" and in it create a file called "advancedsettings.xml" (or edit it if it's already created; DO NOT delete the content already written in it, just add the following code). The following needs to be entered (replace 'x.x.x.x' with the IP of the HDA):
{{Code|<pre>
Code = <advancedsettings>
<videodatabase>
</musicdatabase>
</advancedsettings>
}}</pre>
2.2 Save the file.