anon Posted December 28, 2007 Share Posted December 28, 2007 Hi, I have a problem. In Cpanel I have added a user to a specific database. When the code tries to connect to the database, it gives me this problem Problem selecting the database Direx Access denied for user 'redzero'@'localhost' to database 'Direx' Version - 4.1.22 - Standard Quote Link to comment https://forums.phpfreaks.com/topic/83479-question-about-mysql-users/ Share on other sites More sharing options...
fenway Posted December 28, 2007 Share Posted December 28, 2007 That means the grants table isn't correct... or the password is wrong. Quote Link to comment https://forums.phpfreaks.com/topic/83479-question-about-mysql-users/#findComment-424718 Share on other sites More sharing options...
anon Posted December 28, 2007 Author Share Posted December 28, 2007 the password can't be wrong though. I have re-tried again and again. What is the Grant's table? Like the permission to change stuff? I checked all permissions. Is there some way I can check if I can access my database through the standard MySQL format? Quote Link to comment https://forums.phpfreaks.com/topic/83479-question-about-mysql-users/#findComment-424737 Share on other sites More sharing options...
fenway Posted December 28, 2007 Share Posted December 28, 2007 You mean the command-line interface? Check with root and see what permsissions you have from which hosts. Quote Link to comment https://forums.phpfreaks.com/topic/83479-question-about-mysql-users/#findComment-424776 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.