information_schema | utf8_general_ci | Check privileges |
TDMSimages | latin1_swedish_ci | Check privileges |
No Privileges
Solved! Go to Solution.
Ummm - I was just double checking the thread - Your database is TDMSimages not TDHS
Sorry I didn't see this originally - I completely missed the letter being different
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
and I missed the mis-spelling for ever. Thank you so much for spotting my stupidity.
I am going to close this thread and open a new thread with the other cPanel problems I have encountered.
The easiest thing to do is in cPanel go to MySql Databases from here you can assign a user to a database and grant all the permissions
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
Yes, I did assign users and set up privileges in MySQL Databases before trying to access the database. I have just rechecked that it says they are privileges users.
It makes no sense to me that I am allowed to assign privileges when if I go to 'check privileges' for the database it says I have none,.
Can you post a screen capture of cpanel where you see the privileges???
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
I did include the screen shot in this posting but somehow it got stripped out. Here is try 2.
That looks perfect - There are certain things on a cPanel server that you need to do via the cPanel and others that you can do within phpMyAdmin - this is due to security settings within the server
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
I am no further forward and the problem remains unresolved at this time. - Mike
Can you be a bit more specific - Where are you getting an error / what are you not able to access??
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
See my original posting.
Ok - So where are you getting the access denied - is this via a PHP Script??
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
The parameters are set up as
$dbname = 'TDHSimages';
$user = 'test';
$password = '-----'; password omitted
$hostname='localhost';
The command is
$mysqli = mysqli_connect($hostname, $user, $password, $dbname);
and the error message is
Failed to connect to MySQL: Access denied for user 'test'@'localhost' to database 'TDHSimages'
This works fine on the old Windows platform but fails on the cPanel platform. The only difference is that on cPanel I have added privileges to the users, described in a previous post.
Please also note that I am unable to create new databases on the cPanel platform, which points towards something being amiss with the set up of that platform.
Ummm - I was just double checking the thread - Your database is TDMSimages not TDHS
Sorry I didn't see this originally - I completely missed the letter being different
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
and I missed the mis-spelling for ever. Thank you so much for spotting my stupidity.
I am going to close this thread and open a new thread with the other cPanel problems I have encountered.