teongkia Posted December 26, 2006 Share Posted December 26, 2006 Hi when i log in to http://mydb1.localdns.com/phpMyAdmin with my username and password.I managed to enter inside.But when I tried to create database name 'econnect', this error came outErrorMySQL said: #1044 - Access denied for user 'iinnovationscom'@'localhost' to database 'econnect' May I know what is the main problem for this?Thanks. Quote Link to comment Share on other sites More sharing options...
Vikas Jayna Posted December 26, 2006 Share Posted December 26, 2006 You need to give the user 'iinnovationscom' the permissions to access the 'econnect' database. Do it through the following query:[code]grant all on econnect.* to iinnovationscom'@'localhost identified by 'password';[/code]This query will have to be run through the root user or a user that has the permissions on the database 'econnect' Quote Link to comment Share on other sites More sharing options...
teongkia Posted December 28, 2006 Author Share Posted December 28, 2006 ErrorMySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''@'localhost identified by 'password'' at line 1 After executing the code I found this error.I still couldn't create the database name econnect.May I know the problem?Thanks. Quote Link to comment Share on other sites More sharing options...
fenway Posted December 28, 2006 Share Posted December 28, 2006 The quoting is slightly off... Quote Link to comment Share on other sites More sharing options...
Vikas Jayna Posted December 28, 2006 Share Posted December 28, 2006 [code]grant all on econnect.* to iinnovationscom@localhost identified by 'password';[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.