Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MySQL] - Errore con comandi da shell [Risolto con ??]
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
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Mon Aug 22, 2005 6:21 pm    Post subject: [MySQL] - Errore con comandi da shell [Risolto con ??] Reply with quote

Ciao,
secondo voi cosa può essere successo al mio MySQL (4.0.24)?
In generale funziona tutto: Zend Platform, script PHP, MySQL Administrator, ecc.. ma se provo ad accedere a Mysql da linea di comando o provo a creare (mysqldump dbtest > db.sql -u root -p) e ripristinare un dump (mysql dbdump < db.sql -u root -p) utilizzando la shell ottengo sempre lo stesso errore:
Code:
mysql: unknown option '--networking'

o
Code:
mysqldump: unknown option '--networking'

Ultimamente non ho fatto nessuna modifica oltre che abilitare innodb e nel my.cnf utilizzo skip-networking.
Ho già chiesto sul forum di mysql.com ma per adesso nessuna risposta.. :cry:
Grazie, ciao.


Last edited by berus on Tue Aug 23, 2005 10:17 am; edited 1 time in total
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 6:58 am    Post subject: Reply with quote

Posso permettermi un uppino?? :oops: E' che sono un po' bloccato :cry:
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Tue Aug 23, 2005 7:11 am    Post subject: Reply with quote

E se levi skip-networking che fa ?
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 7:17 am    Post subject: Reply with quote

Stessa identica cosa :cry:
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 23, 2005 7:53 am    Post subject: Re: [MySQL] - Errore strano con comandi da shell Reply with quote

berus wrote:
secondo voi cosa può essere successo al mio MySQL (4.0.24)?


Con quali USE lo hai compilato? Se ritorni al 4.0.23 funziona?
_________________
Ciao da me!
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 9:07 am    Post subject: Reply with quote

Ciao, ecco le USE
Code:
USE="X gtk2 gnome alsa libogg dvd mp3 mplayer flash png jpg tiff gif svg gd xml
session sqlite bzlib xsl ftp dba mysql apache2 php5 sql ssl innodb zip ming boot
splash -lirc -ipv6 -moznoxft truetype samb samba mozilla xprint dvdread network
cdparanoia divx4linux directfb gimpprint wmf java -kde qt -arts dvdr -bootsplash
 xpm sse mpm-prefork pcmcia -kdelibs"

La 4.0.23 funzionava bene ma anche la 4.0.24 fino a qualche giorno fa!! Il problema è che non ho fatto nessuna modifica in questo periodo. Tra una dump e l'altro probabilmente c'è stata solo l'attivazione delle innodb.
Non voglio fare troppe prove (unmerge, ecc..) perchè ho installato lo ZendPlatform.. ed anche questo per farlo funzionare.. :evil:
Adesso sto provando ad emergiare la 4.0.25, speriamo che con la nuova compilazione i problemi svaniscano :?
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 9:23 am    Post subject: Reply with quote

Niente da fare.. finita la compilazione, restart del server, stesso problema!!!! :cry: :cry: :cry:
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 23, 2005 9:33 am    Post subject: Reply with quote

berus wrote:
Ciao, ecco le USE


Ugh un:
Code:
emerge -pv mysql

avrebbe l'indubbio vantaggio di dire direttamente quali sono quelle che influenzano mysql... al momento non ho una gentoo sottomano per fare dei controlli
_________________
Ciao da me!
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 9:37 am    Post subject: Reply with quote

Certo che hai ragione anche tu!!! :roll:
Code:
root@genbook mysql # emerge -pv mysql

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-db/mysql-4.0.25-r2  +berkdb -big-tables -debug -doc -minimal +perl +readline (-selinux) +ssl -static +tcpd 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Tue Aug 23, 2005 10:16 am    Post subject: Reply with quote

Non so cosa fosse successo ma:

- ho eliminato my.cnf;
- ho riemergiato mysql;
- ho riconfigurato my.cnf utilizzando #skip-networking;

e per adesso funziona. Se tolgo il # invece ottengo l'errore.
Con la vecchia configurazione invece il # non cambiava le cose (come ho già detto).. è possibile che il file fosse corrotto? :?:
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