Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default Starting MySQLCouldn't find MySQL manager or server

    When upgrading to mysql5 many people who have customized their my.cnf files may find that mysql won't start. In this case, make sure that you comment out or remove the basedir config:

    [mysql.server]
    user=mysql
    #basedir=/var/lib

    Hope that saves somebody some time.

  2. #2
    Member
    Join Date
    May 2004
    Posts
    6

    Default

    some problems

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    280

    Default

    Whhooo! We were getting the:
    StartingMySQL Couldn't find MySQL manager or server [FAILED]
    message after upgrading to MySQL 5 and this post fixed it! Many thanks!

  4. #4
    Member
    Join Date
    May 2004
    Posts
    6

    Default

    My problem resolved, i remove my.cnf from mysql 4.x.

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    6

    Default

    Thank you, that helped.

  6. #6
    Member
    Join Date
    May 2003
    Posts
    5

    Default

    yes. it's working now.

    my /etc/my.cnf :

    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock

    [mysql.server]
    user=mysql
    basedir=/var/lib
    old-passwords = 1

    [safe_mysqld]
    err-log=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid


    i have removed parameter (basedir=/var/lib) and mysql is working now.

  7. #7
    Member
    Join Date
    Jan 2002
    Posts
    50

    Default

    Removing the basedir worked for us! Thanks.

  8. #8
    Member liquidcherry's Avatar
    Join Date
    Jan 2004
    Posts
    63

    Default

    Hey casey,

    Thx this should be a sticky:-)

    Cheers,

    Frank

  9. #9
    Member
    Join Date
    Oct 2004
    Posts
    124

    Default

    Thanks casey

    This saved me a lot of time :-)

  10. #10
    Member handsonhosting's Avatar
    Join Date
    Feb 2002
    Location
    Omaha, NE
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    definitly needs to be made sticky!

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    Quote Originally Posted by Arsalan View Post
    Removing the basedir worked for us! Thanks.
    Hmm, worked for me too. Strange

  12. #12
    Member
    Join Date
    Apr 2004
    Location
    São Paulo - Brasil
    Posts
    22

    Default

    wow... thanks! Almost shooting myself! hahaha
    .marcel touma

  13. #13
    Member
    Join Date
    Feb 2004
    Location
    San Ramon, CA
    Posts
    35

    Default

    yeah, I was just getting a loop of rope to hang myself from the closet door, but the doorknob broke off, too many twinkies. Thanks Casey!!

  14. #14
    Member
    Join Date
    Jul 2005
    Posts
    8

    Wink

    Thank you for the tips guys it the basedir for me as well.
    rhel 5 mysql 5.0.27 upgraded.

    Cheers,
    Brian

  15. #15
    Member
    Join Date
    Mar 2006
    Posts
    5

    Default Upgrading to MYSQL 5 on Cpanel/WHM Server

    This is what worked for me.

    Step 1.)
    Go into your WHM > TweakSettings and select the MySQL 5 > Save it

    Step 2.)
    login as root via SSH and run /scripts/mysqlup, it will do the upgrade for you.

    Step 3.)

    Rem out the line in /etc/my.conf that was setting basedir to /var/lib. As seen below:

    user=mysql
    #basedir=/var/lib

    Step 4.)

    Create the directory "/var/run/mysqld" if it does not exist. Then chown that directory to mysql.mysql as below...

    mkdir /var/run/mysqld
    chown mysql.mysql /var/run/mysqld

    Step 5.)
    Kindly check if a socket file exists on /tmp.
    if not add one
    root@server [~]# cd /tmp
    root@server [/tmp]# ln -s /var/lib/mysql/mysql.sock .

    Step 6.)
    Start the service..

    service mysql start

Similar Threads & Tags
Similar threads

  1. Where can I find the SSL/TLS Manager?
    By Wonderland in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-28-2009, 10:07 AM
  2. lsb_log_message: MySQL manager or server PID file could not be found!
    By Matnet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-10-2008, 09:08 AM
  3. File Manager v3- find and delete?
    By grasm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2008, 02:48 PM
  4. ==> Web Host Manager 8.8.0 Server Starting..... [FAILED]
    By HD-Sam in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-17-2004, 05:13 PM
  5. Replies: 1
    Last Post: 12-24-2003, 01:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube