Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Install] mysql non parte [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Wed Aug 11, 2004 4:23 pm    Post subject: [Install] mysql non parte [Risolto] Reply with quote

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
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Wed Aug 11, 2004 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Wed Aug 11, 2004 9:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum