Kod: Markera allt
To configure MySQL to listen for connections from network hosts, edit /etc/mysql/my.cnf and change the bind-address directive to the server's IP address:
from: bind-address = 127.0.0.1
to: bind-address = 192.168.0.5
Kod: Markera allt
Note: Replace 192.168.0.5 with the appropriate address.
Note: To allow local and remote access try comment out bind-address using a hash(#) or use bind-address = bind-address = 0.0.0.0
Restart your MySQL server. $sudo restart mysql
Get into the MySQL command line utility: $mysql -u root -p
Enter the following commands:
Type in: CREATE USER 'kodi' IDENTIFIED BY 'kodi'; and press return
Type in: GRANT ALL ON *.* TO 'kodi'; and press return
Kod: Markera allt
Type in: flush privileges; and press return
Close out the command line tool with \q
Kan man göra samma i webmin och hur? Kollade in detta: http://quixventure.com/2011/12/configur ... -for-xbmc/ som någon mall.
Webmin
