Set up access to mysql database
Posted: Tue May 13, 2008 8:29 pm
Hi I've nearly installed CMS ms on my clients server but I'm stuck at step 3. I get this error message:
'Could not connect to the database. Verify that username and password are correct, and that the user has access to the given database.'
In the instructions it says to do this:
Make sure you have created your database and granted full privileges to a user to use that database.
For MySQL, use the following:
Log in to mysql from a console and run the following commands:
1. create database cms; (use whatever name you want here but make sure to remember it, you'll need to enter it on this page)
2. grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';
I don't know where to do this - i can log into my database through my hosting companies site - it goes to a admin page called starfield technologies inc. Where I can enter SQL queries etc.
When i try to enter number 2 'grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';' I get this error: '#1142 - GRANT,REFERENCES command denied to user 'cms_u5er'@'68.178.254.44' for table 'cms_u5er' '
Please help I'm totally lost!
Thanks
Jon
'Could not connect to the database. Verify that username and password are correct, and that the user has access to the given database.'
In the instructions it says to do this:
Make sure you have created your database and granted full privileges to a user to use that database.
For MySQL, use the following:
Log in to mysql from a console and run the following commands:
1. create database cms; (use whatever name you want here but make sure to remember it, you'll need to enter it on this page)
2. grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';
I don't know where to do this - i can log into my database through my hosting companies site - it goes to a admin page called starfield technologies inc. Where I can enter SQL queries etc.
When i try to enter number 2 'grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass';' I get this error: '#1142 - GRANT,REFERENCES command denied to user 'cms_u5er'@'68.178.254.44' for table 'cms_u5er' '
Please help I'm totally lost!
Thanks
Jon