methodtwo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 01 Feb 2008 Posts: 231
|
Posted: Fri May 09, 2008 12:47 am Post subject: mysql problems |
|
|
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 |
|