Results 1 to 10 of 17
-
2nd Sep 2011, 07:12 AM #1OP
Access Denied - MySQL
I am getting a blank page http://www.warezxl.org and if I open any thread I get "Access Denied" message http://www.warezxl.org/showthread.ph...-updated-daily
I have set the user name and password prefectly and I have checked the privileges too.
I tried the following in shell
Code:[root@** ~]# mysql_fix_privilege_tables --password=**** This script updates all the mysql privilege tables to be usable by the current version of MySQL Got a failure from command: cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql --no-defaul ts --force --user=root --host=localhost --database=mysql Please check the above output and try again.
GoPantheoN Reviewed by GoPantheoN on . Access Denied - MySQL I am getting a blank page http://www.warezxl.org and if I open any thread I get "Access Denied" message http://www.warezxl.org/showthread.php?573712-nod32-keys-updated-daily I have set the user name and password prefectly and I have checked the privileges too. I tried the following in shell # mysql_fix_privilege_tables --password=**** This script updates all the mysql privilege tables to be usable by the current version of MySQL Rating: 5
-
2nd Sep 2011, 12:08 PM #2OP
shell> mysql_fix_privilege_tables used and it resulted that successful but still its access denied.
-
2nd Sep 2011, 12:24 PM #3Respected MemberWebsite's:
DL4Everything.com Soft2050.inFirst execute this to login to mysql through ssh:
Code:mysql -u USER -p DBNAME
Enter the pass for the user
Then execute this
Code:GRANT ALL PRIVILEGES ON dbname.* TO dbuser @'%' IDENTIFIED BY 'dbpassword';
Code:FLUSH PRIVILEGES;
-
2nd Sep 2011, 12:38 PM #4OP
Ok, I ll use this. Thank you.
Edit: Actually I removed everything and installing fresh, but ll do this if it occurs again.
-
2nd Sep 2011, 01:04 PM #5OP
I got the following error
mysql> GRANT ALL PRIVILEGES ON warezxl_wxldb.* TO warezxl_wxldb @'%' IDENTIFIED BY 'pass';
ERROR 1044 (42000): Access denied for user 'warezxl_wxldb'@'localhost' to database 'warezxl_wxldb'
-
2nd Sep 2011, 01:21 PM #6Respected MemberWebsite's:
DL4Everything.com Soft2050.inLogin to mysql as root
If you have never set root password, then it should work by executing
Code:mysql
Code:GRANT ALL PRIVILEGES ON dbname.* TO dbuser @'%' IDENTIFIED BY 'dbpassword';
Code:FLUSH PRIVILEGES;
Then edit db details and try
Should fix your problem
-
2nd Sep 2011, 01:40 PM #7OP
I should replace dbname dbuser and dbpassword with the details right ?
Also when i try to FLUSH i get just this for long time
mysql> FLUSH PRIVILEGES
->
->
-
2nd Sep 2011, 01:48 PM #8Respected MemberWebsite's:
DL4Everything.com Soft2050.in
-
2nd Sep 2011, 02:07 PM #9OPmysql> GRANT ALL PRIVILEGES ON warezxl_wxldb.* TO warezxl_wxldb @'%' IDENTIFIED BY 'pass';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES
->
-
2nd Sep 2011, 02:11 PM #10Respected MemberWebsite's:
DL4Everything.com Soft2050.in
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to access mysql database without conrtol panel ?
By jasoothai in forum Server ManagementReplies: 28Last Post: 17th Jun 2012, 01:51 PM -
Megaupload Founder Accuses Police of Assault, Denied Bail Again
By Wadibahi in forum News & Current EventsReplies: 13Last Post: 4th Feb 2012, 08:33 AM -
Megaupload founder Kim Dotcom denied bail; stays in jail
By ShareShiz in forum News & Current EventsReplies: 12Last Post: 25th Jan 2012, 04:49 PM -
MYSQL Error while Import via MYSQL Dumper (Error
By desibreaker in forum Server ManagementReplies: 10Last Post: 5th Aug 2011, 07:26 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...