View previous topic :: View next topic |
Author |
Message |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Mon Aug 22, 2005 6:21 pm Post subject: [MySQL] - Errore con comandi da shell [Risolto con ??] |
|
|
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..
Grazie, ciao.
Last edited by berus on Tue Aug 23, 2005 10:17 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 6:58 am Post subject: |
|
|
Posso permettermi un uppino?? E' che sono un po' bloccato ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IlGab Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/megamanx.gif)
Joined: 26 Nov 2004 Posts: 486
|
Posted: Tue Aug 23, 2005 7:11 am Post subject: |
|
|
E se levi skip-networking che fa ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 7:17 am Post subject: |
|
|
Stessa identica cosa ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Aug 23, 2005 7:53 am Post subject: Re: [MySQL] - Errore strano con comandi da shell |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 9:07 am Post subject: |
|
|
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..
Adesso sto provando ad emergiare la 4.0.25, speriamo che con la nuova compilazione i problemi svaniscano ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 9:23 am Post subject: |
|
|
Niente da fare.. finita la compilazione, restart del server, stesso problema!!!! ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Aug 23, 2005 9:33 am Post subject: |
|
|
berus wrote: | Ciao, ecco le USE |
Ugh un:
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 |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 9:37 am Post subject: |
|
|
Certo che hai ragione anche tu!!! 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 |
|
![](templates/gentoo/images/spacer.gif) |
berus Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Dec 2003 Posts: 347 Location: Italy
|
Posted: Tue Aug 23, 2005 10:16 am Post subject: |
|
|
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? ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|