[LUGargano] MySQL config su slackware 10.2

nenetux@libero.it nenetux@libero.it
Mar 27 Dic 2005 20:38:35 CET


He he! Questione di permessi.

Tutto Ok : Apache, MySQL, PHP e.... MAMBO !



> 
> Cosa mi dimentico ?!?
> 
> 
> /etc/rc.d/rc.mysqld  è  eseguibile
> 
> 
> root@vaio:/var/run# mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
> '/var/run/mysql/mysql.sock' (111)
> root@vaio:/var/run#
> 
> 
> root@vaio:/var/run# 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 vaio 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
> root@vaio:/var/run#
> 
> 



Maggiori informazioni sulla lista LUGargano