Pagina 1 di 1

Problema mysql in slackware 12

Inviato: gio 13 set 2007, 10:41
da mordecai
Ciao a tutti!
HO rilevato un problema che prima non avevo riscontrato in mysql nella slack 12.

Mysql come utente e gruppo ci sono già,quindi non resta che installare mysql.

Allora do: mysql_install_db e mi da come messaggio tutto ok.

Codice: Seleziona tutto

Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.serve
r
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 slax password 'new-password'
See the manual for more instructions.

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' di                            rectory:
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 http://shop.mysql.com
Quando però lancio il demone mysqld con "/usr/bin/mysqld_safe &",mi da ERRORE:

Codice: Seleziona tutto

root@slax:/home/lord# /usr/bin/mysqld_safe &
[1] 13444
root@slax:/home/lord# nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/slax.pid
070913 10:47:59  mysqld ended
Ho provato + e + volte a lanciare il demone con vari comandi in vari modi,anche leggendo il wiki su questo sito,ma niente da fare.Ho anche copiato il file .cnf,ma niente ancora.

Non riesco a capire dove sbaglio........ :x

Inviato: gio 13 set 2007, 10:44
da mordecai
Avevo in effetti dimenticato di dare i permessi a user e group.

In ogni caso permane sempre un errore:

Codice: Seleziona tutto

root@slax:/var/lib# /etc/rc.d/rc.mysqld start
root@slax:/var/lib# nohup: redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql

root@slax:/var/lib#

Inviato: gio 13 set 2007, 15:39
da cacao74
mordecai ha scritto:Avevo in effetti dimenticato di dare i permessi a user e group.

In ogni caso permane sempre un errore:

Codice: Seleziona tutto

root@slax:/var/lib# /etc/rc.d/rc.mysqld start
root@slax:/var/lib# nohup: redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql

root@slax:/var/lib#
Dov'e' l'errore? :roll:

Inviato: gio 13 set 2007, 18:48
da mordecai
Qua>>> nohup: redirecting stderr to stdout

Inviato: gio 13 set 2007, 18:54
da JohnnyMnemonic
Beh non mi pare una cosa preoccupante, redirige lo standard error sullo standard output, cioè stampa a video gli eventuali messaggi di errore, dove stà il problema?

Inviato: gio 13 set 2007, 22:02
da mordecai
Bè io l'ho considerato errore,dato che nella versione precedente non c'era.
Forse una considerazione troppo severa.....