Find the answer to your Linux question:
Results 1 to 3 of 3
Hello people, I am on installing and configuring Mysql 4 on Suse 10.1. I had Mysql 5 and i removed it (thru yast), and i installed Mysql 4 (binaries), by ...
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5

    Installing MySQL 4 on Suse 10.1

    Hello people,
    I am on installing and configuring Mysql 4 on Suse 10.1.
    I had Mysql 5 and i removed it (thru yast), and i installed Mysql 4 (binaries), by following the steps on mysql page. All fine and dandy until i needed to test if mysql starts and shuts down.
    bin/mysqld_safe --user=mysql & fails..it shuts down immediately
    I went into /usr/local/mysql/data/host.err, and it seems that the mysql is already running..
    070517 2:43:25 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
    070517 2:43:25 [ERROR] Do you already have another mysqld server running on port: 3306 ?

    Commands are giving me back error messages:
    mysql.server does not exist in /etc/init.d when i tried to restart it..mysql doesn't start when i call it either

    If i try to run mysqladmin, i get:
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
    Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

    I checked logs, mysql log, and whatever i could find in var/log related to mysql..there is nothing..

    How do i put everything in order? What I am missing or doing wrong?
    Thanks for the help.
    Last edited by Gurb; 05-17-2007 at 03:00 AM. Reason: more info

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Just a guess but I bet you did not shut 4 down before uninstalling it. That means it is still running and you removed all its interface apps. Do a ps -A to show all processes. See if you can find any related to mySQL and kill them. You may need to be root.

    Or you could just reboot. The old 4 version should not restart.

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5
    Thanks gogalthorp..no, there is no process related to mysql. I am root, but i cannot reboot the server..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...