View previous topic :: View next topic |
Author |
Message |
Johnyp Guru
Joined: 23 Mar 2005 Posts: 301
|
Posted: Thu Jan 19, 2006 8:51 pm Post subject: MySQL emerge/install - initial config question |
|
|
Hi all
I need to get MySQL up and running for a CMS system. And from what i understand, once i emerge mysql, i need to initialize it and load default tables, set the root password and such. I'm emerging 4.1.14 at this very moment. Can someone point me to the instructions on the intial setup of the DB?
I've looked at Gentoo wiki site, but found no ifno relating to the new version of the MySQL (i assume there were changes from the old version).
Anywa - some help is very appreciated.
thanks! _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
|
Johnyp Guru
Joined: 23 Mar 2005 Posts: 301
|
Posted: Thu Jan 19, 2006 9:47 pm Post subject: |
|
|
Ok, i've emerged MySQL and did emerge --config =mysql-4.1.14
Now it says to do this to set the password for the root user:
Code: |
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h webbox password 'new-password'
See the manual for more instructions.
|
However, it did prompt me to enter the root password during the "emerge --config..."
It looks as the instructions are repeating the step that was done already? _________________ Gentoo Unanswered Questions- Give it a try! |
|
Back to top |
|
|
|
|
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
|
|