View previous topic :: View next topic |
Author |
Message |
Guglie Apprentice
Joined: 01 Mar 2004 Posts: 240 Location: switzerland - zürich
|
Posted: Wed Aug 11, 2004 4:23 pm Post subject: [Install] mysql non parte [Risolto] |
|
|
ho emerso mysql
poi editato /etc/mysql/mysqlaccess.conf con i dati di root e del mio utente
adesso se do
mysqld
il processo termina:
Code: | ps -e
[1]+ Exit 1 mysqld |
stessa cosa con
Code: | mysqld_safe
Starting mysqld daemon with databases from /var/lib/mysql
040811 18:05:24 mysqld ended |
il fatto è che non mi da nessun errore.
del secondo file ( /etc/mysql/my.cnf ) invece ci capisco poco:
Code: | [client]
#password = my_password
port = 3306
socket = /var/run/mysqld/mysqld.sock
[safe_mysqld]
err-log = /var/log/mysql/mysql.err
[mysqld]
skip-innodb
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
log-error = /var/log/mysql/mysqld.err
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
# keep secure by default!
bind-address = 127.0.0.1
port = 3306
# this can make it even more secure:
#skip-networking
[mysqldump]
quick
set-variable = max_allowed_packet=1M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
set-variable = key_buffer=16M |
nei logs ho:
Code: | 040811 18:05:24 mysqld started
Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line
040811 18:05:24 mysqld ended |
_________________ A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Last edited by Guglie on Wed Aug 11, 2004 9:03 pm; edited 1 time in total |
|
Back to top |
|
|
IgaRyu Guru
Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Wed Aug 11, 2004 5:27 pm Post subject: |
|
|
Per far partire mysql devi usare il suo script ossia:
Code: | /etc/init.d/mysql start |
Prima pero devi eseguire l'inizializzazione come segnalato in coda all'ebuild
Joe |
|
Back to top |
|
|
Guglie Apprentice
Joined: 01 Mar 2004 Posts: 240 Location: switzerland - zürich
|
Posted: Wed Aug 11, 2004 9:00 pm Post subject: |
|
|
ok, ho dato
/usr/bin/mysql_install_d
e poi
/etc/init.d/mysql start
e sembra funzionare
grazie! _________________ A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath! |
|
Back to top |
|
|
|