I have mysql server on computer A (ip 192.999.1.1)
Computer B is connected via wlan (Computer name: Vostro; ip 192.999.1.2)
I want B to access mysql on A
Here is what I have done so far:-
1) Comment out bind-address in /etc/mysql/my.cnf
2) mysql> create user Vostro@192.999.1.2 identified by 'xxxxx';
3) Grant permission. mysql> GRANT ALL ON *.* TO Vostro@'192.999.1.2' IDENTIFIED BY 'xxxxx';
4) Restart computer A
When trying to access 'A' from 'B':-
~$ mysql -u Vostro -pxxxxx -h192.999.1.1
I get
Computer 'B' had a very long name with several '-' characters. I changed it to 'Vostro'. If I ping Vostro from computer 'B' I get sensible results so I don't think this is a problem.
Have looked at many posts but haven't found any that help. Any help would be very welcome.
Computer B is connected via wlan (Computer name: Vostro; ip 192.999.1.2)
I want B to access mysql on A
Here is what I have done so far:-
1) Comment out bind-address in /etc/mysql/my.cnf
2) mysql> create user Vostro@192.999.1.2 identified by 'xxxxx';
3) Grant permission. mysql> GRANT ALL ON *.* TO Vostro@'192.999.1.2' IDENTIFIED BY 'xxxxx';
4) Restart computer A
When trying to access 'A' from 'B':-
~$ mysql -u Vostro -pxxxxx -h192.999.1.1
I get
Code:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
Have looked at many posts but haven't found any that help. Any help would be very welcome.
Comment