entaum para o servico, mata os arquivos e roda o mysql_install_db
Versão Imprimível
entaum para o servico, mata os arquivos e roda o mysql_install_db
Parei os serviços, quais arquivos q tenho q "matar" ?Citação:
Postado originalmente por 1c3_m4n
mysql_install_db
Installing all prepared tables
050608 15:45:38 /usr/sbin/mysqld: Shutdown Complete
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands.
Remeber to type your password instead of <new-password>!
/usr/bin/mysqladmin -u root password <new-password>
/usr/bin/mysqladmin -u root -h af0419.bcsinfo.com.br 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 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
eh isso ae, basta seguir as instrucoes q ele te deu
o matar q eu me referi eh apagar
Eu faço assim e sempre deu certo:
#mysql_install_db
#mysqld_safe & (vai dar um erro mas é normal)
#chown -R mysql.mysql /var/lib/mysql
#mysqld_safe &
#mysqladmin -u root password (sua senha)
#mysql -u root -p
Isso feito no slackware
[]s
Fala 1c3, eu entendi que "matar" seria apagar, hehehe, mas apagar exatamente o que ???Citação:
Postado originalmente por 1c3_m4n