MYSQL - erro na instalação
MYSQL - erro na instalação
Olá pessoal
Baixei e instalei o MYSQL com os seguintes comandos:
slackpkg install mysql
Quando dei um mysql_install_db, ele me reotrna a seguinte mensage:
mysql@brutus:/usr/bin$ mysql_install_db
Installing all prepared tables
Fill help tables
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 MySQL 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 brutus password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Alguém poderia me ajudar?
MYSQL - erro na instalação
onde ta o erro? eu nao vejo nenhum.
MYSQL - erro na instalação
MYSQL - erro na instalação
OK, ...
Estou seguindo esses passos:
# su mysql
$ mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Praparing func table
Praparing tables_priv table
Praparing columns_priv table
Installing all prepared tables
040625 12:23:26 /usr/libexec/mysqld: Shutdown Complete . . .
$ exit
# mysqld_safe --user=mysql&
# mysql_secure_installation
só que quando do o comando "mysql_safe --user=mysql&
Ele me retorna o seguinte: #bash: mysql_safe: command not found
Por que disso?
Agradeço desde já
MYSQL - erro na instalação
Depois fiz o seguinte:
#mysqladmin -u root password minha_senha
e me apareceu esse erro. Pelo que entendi sobre o erro, o user mysql ñ tem senha é isso?
Alguém pode me ajudar??
Esse é o erro:
[b]
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'[b]