Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mysql - impossibile accedere e riconfigurare
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cruentatio
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 125

PostPosted: Sat Dec 31, 2005 12:55 am    Post subject: Mysql - impossibile accedere e riconfigurare Reply with quote

Ciao a tutti, so che ci sono gia alcuni messaggi su questo, li ho seguiti tutti, ma nessuno mi ha dato la soluzione.
Ho il solito problema che non si riesce più ad accedere alla console di mysql
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Poi dopo aver cercato far andare DBDesigner4, ho cercato di far eseguire questo codice al db
Code:
mysql>SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

e da allora non riesco nemmeno più a loggarmi con root in phpmyadmin.
Allora ho provato a rimuovere /var/lib/mysql e dare un emerge --config =mysql-4.1.14, ma:
Code:

Configuring pkg...

 * MySQL DATADIR is /var/lib/mysql
 * Previous datadir found, it's YOUR job to change
 * ownership and have care of it

!!! ERROR: dev-db/mysql-4.1.14 failed.
!!! Function pkg_config, Line 524, Exitcode 0
!!! Oops you already have a mysql daemon running!
!!! If you need support, post the topmost build error, NOT this status message.


Ho provato anche con
Code:

ebuild /var/db/pkg/dev-db/mysql-4.1.14/mysql-4.1.14.ebuild config

e la configurazione sembra funzionare, ma il risultato è sempre lo stesso, non riesco ad accedere ne da console ne da phpmyadmin...

E allora non so proprio più come fare per riaccedere ai miei database!!

Qualcuno ha qualche altra soluzione??
Grazie mille!
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Sat Dec 31, 2005 1:08 am    Post subject: Re: Mysql - impossibile accedere e riconfigurare Reply with quote

cruentatio wrote:

Allora ho provato a rimuovere /var/lib/mysql e dare un emerge --config =mysql-4.1.14, ma:
[...]
E allora non so proprio più come fare per riaccedere ai miei database!!


-se hai cancellato quella dir non hai piu' alcun database al quale accedere
-
Code:
mysql_install_db

_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
cruentatio
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 125

PostPosted: Sat Dec 31, 2005 1:14 am    Post subject: Reply with quote

Si, hai ragione, mi sono espresso male, intendevo semplicemente dire che non riesco più a loggarmi in nessun modo con root, con o senza database.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sat Dec 31, 2005 1:33 am    Post subject: Re: Mysql - impossibile accedere e riconfigurare Reply with quote

cruentatio wrote:

Code:
!!! Oops you already have a mysql daemon running!


forse killando mysql riesci ad ottenere qualcosa...

in più c'è un post interessante tra la documentazione italiana di questo forum su come installare&configurare mysql
in più aggiungo: http://arcticalliance.se/pma.htm
ciao
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
cruentatio
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2004
Posts: 125

PostPosted: Sat Dec 31, 2005 12:12 pm    Post subject: Reply with quote

Ehm... si, quella era la prima prova, e solo dopo mi sono accorto che girava ancora, ma non mi sono accorto di aver incollato quello, comunque anche dopo non è cambiato nulla.
Quella guida l'ho gia seguita, ma il problema sta poi nel riuscire a far andare dbDesigner4, e il fatto che dopo aver seguito la un post sul forum di mysql no vada più nulla!
Ora ho unmergiato mysql, eliminato tutti i file di conf, riemergio e vediamo se riesco a far sincronizzare un db fatto con dbdesigner...


EDIT:
Riemerigiando tutto riesco ad accedere dalla console a mysql con
Code:
mysql -p

ma da phpmyadmin non c'è più verso di entrare, anche se user e pass sono giusti....
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sat Dec 31, 2005 1:04 pm    Post subject: Reply with quote

con la versione 4.1 di mysql, se cerchi nel forum internazionale c'è pure un post a riguardo, phpmyadmin necessita di risettare le password per pma...

il post è questo:
https://forums.gentoo.org/viewtopic-t-406602-highlight-pma+password+mysql.html
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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