Activity Stream
48,167 MEMBERS
63764 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1.     
    #1

    Exclamation 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

  2.   Sponsored Links

  3.     
    #2
    shell> mysql_fix_privilege_tables used and it resulted that successful but still its access denied.

  4.     
    #3
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    First execute this to login to mysql through ssh:

    Code: 
    mysql -u USER -p DBNAME
    (You can also login as root)

    Enter the pass for the user

    Then execute this

    Code: 
    GRANT ALL PRIVILEGES ON dbname.* TO dbuser @'%' IDENTIFIED BY 'dbpassword';
    And
    Code: 
    FLUSH PRIVILEGES;

  5.     
    #4
    Ok, I ll use this. Thank you.

    Edit: Actually I removed everything and installing fresh, but ll do this if it occurs again.

  6.     
    #5
    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'

  7.     
    #6
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by GoPantheoN View Post
    I got the following error
    Login to mysql as root
    If you have never set root password, then it should work by executing
    Code: 
    mysql
    Then execute this

    Code: 
    GRANT ALL PRIVILEGES ON dbname.* TO dbuser @'%' IDENTIFIED BY 'dbpassword';
    And
    Code: 
    FLUSH PRIVILEGES;
    Use a new username and password this time

    Then edit db details and try
    Should fix your problem

  8.     
    #7
    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
    ->
    ->

  9.     
    #8
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by GoPantheoN View Post
    I should replace dbname dbuser and dbpassword with the details right ?

    Also when i try to FLUSH i get just this for long time
    Yes with your details

    I guess you didn't added ; after the command

    Its "FLUSH PRIVILEGES;" without quotes

  10.     
    #9
    mysql> GRANT ALL PRIVILEGES ON warezxl_wxldb.* TO warezxl_wxldb @'%' IDENTIFIED BY 'pass';
    Query OK, 0 rows affected (0.00 sec)

    mysql> FLUSH PRIVILEGES
    ->
    After Flush nothing happens.

  11.     
    #10
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by GoPantheoN View Post
    After Flush nothing happens.
    Tried updating the details in the script with new user and pass

    Does it worked out?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to access mysql database without conrtol panel ?
    By jasoothai in forum Server Management
    Replies: 28
    Last Post: 17th Jun 2012, 01:51 PM
  2. Megaupload Founder Accuses Police of Assault, Denied Bail Again
    By Wadibahi in forum News & Current Events
    Replies: 13
    Last Post: 4th Feb 2012, 08:33 AM
  3. Megaupload founder Kim Dotcom denied bail; stays in jail
    By ShareShiz in forum News & Current Events
    Replies: 12
    Last Post: 25th Jan 2012, 04:49 PM
  4. MYSQL Error while Import via MYSQL Dumper (Error
    By desibreaker in forum Server Management
    Replies: 10
    Last Post: 5th Aug 2011, 07:26 PM

Tags for this Thread

BE SOCIAL