1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Tentar instalar joomla em linux (problemas com o mysql)

Discussão em 'Web Development' iniciada por d3baser, 23 de Maio de 2007. (Respostas: 1; Visualizações: 1593)

  1. d3baser

    d3baser Power Member

    Tenho estado a tentar instalar o joomla mas ele está-me sempre a atrofiar com o mysql...

    Acho que ele já está instalado mas não o consigo abrir:

    [email protected]:~$ sudo apt-get install mysql-server mysql-client mysql-admin
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    mysql-server is already the newest version.
    mysql-client is already the newest version.
    mysql-admin is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 0B of additional disk space will be used.
    Setting up mysql-server-5.0 (5.0.38-0ubuntu1) ...
    * Stopping MySQL database server mysqld [ OK ]
    * Starting MySQL database server mysqld [fail]
    invoke-rc.d: initscript mysql, action "start" failed.
    dpkg: error processing mysql-server-5.0 (--configure):
    subprocess post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of mysql-server:
    mysql-server depends on mysql-server-5.0; however:
    Package mysql-server-5.0 is not configured yet.
    dpkg: error processing mysql-server (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    mysql-server-5.0
    mysql-server
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    E quando o tento abrir dá-me isto:
    [email protected]:~$ mysql
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

    Alguem me pode ajudar?
     
  2. scroll

    scroll Power Member

Partilhar esta Página