Find the answer to your Linux question:
Results 1 to 3 of 3
Hi linux users, I've a problem in installing my MySQL 5, could someone help me please? I used the terminal to do that : Code: marwa_ubuntu:~$ sudo su [sudo] password ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! MarwaDim's Avatar
    Join Date
    Oct 2011
    Location
    tunisia
    Posts
    2

    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 :
    Code:
    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:
    Code:
    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
    Just Joined!
    Join Date
    Oct 2011
    Posts
    22
    Try
    Code:
    $ sudo chown -R mysql.mysql /var/run/mysqld/
    $ sudo /etc/init.d/mysql restart

  3. #3
    Banned
    Join Date
    Nov 2011
    Location
    India
    Posts
    29
    Use the following:

    touch /etc/mysql/debian-start
    chown mysql:mysql /etc/mysql/debian-start
    chmod ug+x /etc/mysql/debian-start
    Last edited by oz; 11-29-2011 at 12:32 PM. Reason: spam removal

Posting Permissions

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