Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Secret Agent
    Guest

    Default MySQL problem

    Mysql giving the usual error


    I cannot access phpmyadmin naturally, changed root password and got this error:

    Mysql password change failed!!
    A forced reset will now be attempted

    Got a failure from command:
    /usr/bin/mysql --no-defaults --force --user=root --host=localhost --password=v --database=mysql
    Please check the above output and try again.


    I chmod 1777 /tmp

    I changed local password fo rmysql

    I removed " from username/password from /root/.my.cnf also and restarted mysql,
    got this error:


    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' mysql has failed, please contact the sysadmin (result was "mysql has failed").


    I did /scripts/updatenow and /scripts/upcp --force (CURRENT)

    mysql.sock is already in /tmp and /var/lib/mysql as well

    I did not bother with /scripts/mysqlup --force because the few times I've ran that in the past it wiped out databases

    Nothing works.

    Please help

  2. #2
    Secret Agent
    Guest

    Default

    Fixed

    /scripts/securetmp

    I had that done, but had to undo / redo for whatever reason

  3. #3
    Secret Agent
    Guest

    Default

    Ridiculous!

    Its not working again!

    I didn't touch anything after I ran the above and now its broken

  4. #4
    Secret Agent
    Guest

    Default

    I restart mysql in ssh, it works fine and able to login to phpmyadmin

    I restart in whm, it screws up everything

    root@server [/scripts]# service mysql stop
    No mysqld pid file found. Looked for /var/lib/mysql/server.domain.com.pid.
    Last edited by Secret Agent; 06-30-2005 at 10:17 AM.

  5. #5
    Secret Agent
    Guest

    Default

    Ok...

    WHILE mysql restarts in WHM, I can squeeze into phpmyadmin, when it finishes restarting and gives the error, I get access denied in phpmyadmin

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    181

    Default

    phpMyAdmin from WHM and cPanel ---> just a blank page !?

    FreeBSD
    10.4.0-EDGE_47

  7. #7
    Member B12Org's Avatar
    Join Date
    Jul 2003
    Location
    Seattle Washington
    Posts
    694

    Default

    check the error logs - sounds like mysql is failing after the service starts. You may be able to find the reason in the logs. Or at least a point to the right direction
    Enom ETP - If you need a reseller account (or retail) contact me!

  8. #8
    Member
    Join Date
    Jun 2005
    Posts
    8

    Default MySQL Error.

    You will probably find when you try to run mysql you also get
    error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

    I've tried everything, inculding ln -s, permissions etc, removing all mysql products and reinstalling.. Nothing works.. Mysql looks very much like it hangs too...

    -Jeffa

Similar Threads & Tags
Similar threads

  1. Mysql 5.0.91 to MySQL 5.1.48 username problem
    By Tymsah in forum Database Discussions
    Replies: 4
    Last Post: 10-15-2010, 12:39 PM
  2. Mysql problem
    By Webzcas1 in forum New User Questions
    Replies: 2
    Last Post: 12-09-2009, 11:27 AM
  3. mysql problem
    By bmmsr in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-23-2005, 04:14 AM
  4. mysql problem
    By shizzle in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-10-2005, 01:30 AM
  5. problem with mysql
    By AP in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-14-2002, 08:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube