Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
methodtwo
Apprentice
Apprentice


Joined: 01 Feb 2008
Posts: 231

PostPosted: Fri May 09, 2008 12:47 am    Post subject: mysql problems Reply with quote

How can i totally wipe a mysql installation.To the point where i could just run emerge mysql again and set a database up a-fresh?.As is i can't log in to my existing mysql or configure a new install because it's complaining that mysql is allready installed.Here is the error i get when i run
[code]
ebuild /var/db/pkg/dev-db/mysql-5.0.54/mysql-5.0.54.ebuild config
[/code]
[code]
* MySQL MY_DATADIR is /var/lib/mysql
* Previous datadir found, it's YOUR job to change
* ownership and take care of it
* You have already a MySQL database in place.
* (///var/lib/mysql/*)
* Please rename or delete it if you wish to replace it.
*
* ERROR: dev-db/mysql-5.0.54 failed.
* Call stack:
* ebuild.sh, line 1682: Called qa_call 'pkg_config'
* ebuild.sh, line 44: Called pkg_config
* ebuild.sh, line 1383: Called mysql_pkg_config
* mysql.eclass, line 813: Called die
* The specific snippet of code:
* die "MySQL database already exists!"
* The die message:
* MySQL database already exists!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.54/temp/build.log'.
* This ebuild is from an overlay: '/var/db/pkg/'
*
[/code]
What should i do?.Thankx in advance
Back to top
View user's profile Send private message
methodtwo
Apprentice
Apprentice


Joined: 01 Feb 2008
Posts: 231

PostPosted: Fri May 09, 2008 1:03 am    Post subject: mysql problems [solved] Reply with quote

i'm a doosh bag.All i had to do was delete /var/lib/mysql from the previous incarnation of mysql.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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