Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! MarwaDim's Avatar
    Join Date
    Oct 2011

    problem with installation of MySQL 5

    Hi linux users,

    I've a problem in installing my MySQL 5,
    could someone help me please?

    I used the terminal to do that :
    marwa_ubuntu:~$ sudo su
    [sudo] password for marwa: 
    root_ubuntu:/home/marwa# apt-get install mysql-server mysql-client
    I was asked to provide a password for the mysql root, just after that I had this:
    Setting up mysql-cluster-client-5.1 (7.1.9a-0ubuntu2) ...
    Setting up mysql-cluster-server-5.1 (7.1.9a-0ubuntu2) ...
     * Stopping MySQL database server mysqld                                [ OK ] 
    chown: cannot access `/var/run/mysqld': No such file or directory
     * Starting MySQL database server mysqld                                 [ OK ] 
    /etc/init.d/mysql: line 116: /etc/mysql/debian-start: No such file or directory
    invoke-rc.d: initscript mysql, action "start" failed.
    could someone help me please

  2. #2
    when you removed the packages last time, you only removed them, not purged them, and then you deleted the config files by hand. So dpkg thinks you don't want a default config file (because you deleted it), so it doesn't install a new one, and MySQL has a cry.

    Purge all mysql-related packages and try again.

Posting Permissions

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