You are not logged in.
Hello!
I need to access to my mysql database from school.
I forwarded the correct port on my router, comment skip-networking in my.cnf and add bind-address = 192.168.0.121.
But, I always get this error when I try to connect form another computer:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
I found this bug:
http://bugs.archlinux.org/task/3818
but i'm not really sure what I need to add in etc/hosts.allow.
Thank you for your help.
Last edited by Shaika-Dzari (2007-10-02 01:29:13)
Shaika-Dzari
http://www.4nakama.net
Offline
As you want to connect to your computer through the internet (not a local network!), you should add the following to your /etc/hosts.allow.
mysqld: ALL: ALLOW
Also make sure, the users host is set to '%' for connections not coming from localhost.
Hail to the thief!
Offline
As you want to connect to your computer through the internet (not a local network!), you should add the following to your /etc/hosts.allow.
mysqld: ALL: ALLOW
Also make sure, the users host is set to '%' for connections not coming from localhost.
Great!
It works!
Thank harlekin
Shaika-Dzari
http://www.4nakama.net
Offline