Hi,
I am a newbie to MySQL and I have just setup a Linux box and start the mysql daemon. I have tried to create a user 'dbuser' with a password 'xxxxx' using the following:
shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@localhost
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@"%"
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
I have not created any database yet. I want to connect from another PC on the same LAN using MySQL front to the table 'test'. The error on the MySQL front PC is:
MySQL Error
Connection failed:
2013 - Lost connection to MySQL server during query
I have not altered anything on the MySQL server except the above mentioned.
I have no firewall set between!
Please help!
ALso is the password being created for the user: xxxxx or 'xxxxx'?
Thanks for any advice!
I am a newbie to MySQL and I have just setup a Linux box and start the mysql daemon. I have tried to create a user 'dbuser' with a password 'xxxxx' using the following:
shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@localhost
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@"%"
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
I have not created any database yet. I want to connect from another PC on the same LAN using MySQL front to the table 'test'. The error on the MySQL front PC is:
MySQL Error
Connection failed:
2013 - Lost connection to MySQL server during query
I have not altered anything on the MySQL server except the above mentioned.
I have no firewall set between!
Please help!
ALso is the password being created for the user: xxxxx or 'xxxxx'?
Thanks for any advice!