4DX
(usa Fedora)
Enviado em 24/04/2016 - 20:44h
salve gente...
vindo de um tópico antigo aqui:
https://www.vivaolinux.com.br/topico/Programadores-em-e-de-Software-Livre/Mysql-ERROR-2002-(HY000)-C...
tentei resolver meu problema mas não foi...
quando subo mysql db_livraria a saída é a seguinte :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
ja atualizei e mesmo assim continua...
como esta no tópico acima tentei mysql_install_db por exemplo, e obtive essa saída:
# mysql_install_db
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
160424 20:43:11 [Note] /usr/libexec/mysqld (mysqld 10.0.23-MariaDB) starting as process 6363 ...
OK
Filling help tables...
160424 20:43:16 [Note] /usr/libexec/mysqld (mysqld 10.0.23-MariaDB) starting as process 6393 ...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h localhost.localdomain password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at
http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl
Please report any problems at
http://mariadb.org/jira">
http://mariadb.org/jira
The latest information about MariaDB is available at
http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from MariaDB
Corporation Ab. You can contact us about this at sales@mariadb.com.
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
e continua o mesmo erro... oq posso fazer? tenho o workbench instalado tbm.. mas queria o commandline
vlw