READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Could not select database!" When http://IPserver

 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme
View previous topic :: View next topic  
Author Message
tyllermills
Guest





PostPosted: Wed May 04, 2005 12:01    Post subject: "Could not select database!" When http://IPserver Reply with quote

Hy,

M23 server run correctly before I have made a "apt-get update" and "apt-get upgrade"...

Now I can't connect to the server : It ask me the LOGIN and PASSWORD and prompt me "Could not select database!"

How can I resolve it ?

Is not a good idea to make an update & upgrade of system ?
Back to top
tyllermills
Guest





PostPosted: Wed May 04, 2005 13:10    Post subject: Reply with quote

I've see the error, but I don't know how to correct it !

I have made a "bash updatem23.sh" on root@localhost.
At the end, of update, it can't to RESTORE database, because he hasn't authorisation ton use it.. ( root@localhost )
Back to top
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Wed May 04, 2005 14:19    Post subject: Reply with quote

Quote:
Is not a good idea to make an update & upgrade of system ?

Sometimes not Wink
There are packages that want to install a newer version of a config file. You should allways say "no". This reduces the possibillity of errors.

Quote:
At the end, of update, it can't to RESTORE database, because he hasn't authorisation ton use it.. ( root@localhost )


You can try to set the DB root password to "m23secretroot" by:


  • mysqld_safe --skip-grant-tables &
  • mysql
  • use mysql;
  • update user set password = password('.......') where user = 'root' and host='localhost';
  • Stop and Start the MySQL server.

_________________
Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org

Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de

Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme All times are GMT - 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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


Powered by phpBB © 2001, 2005 phpBB Group