Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-25-2008, 12:49 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 16

Rep: Reputation: 0
MySql configuration deleted

I was trying to delete mysql server and client and accidentally I deleted the configuration folder /etc/mysql. Is there a way to recover this folder??? I thought that only reinstalling it would solve the issue, but it didn't. Help please!!
Old 12-25-2008, 04:54 PM   #2
Registered: Jul 2004
Location: Alton, IL
Distribution: Linux Mint; Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
if you reinstall, everything should come with it. The config might be located elsewhere (/usr/local/etc or something, or /usr/local/mysql/conf ?) It's been awhile since I installed mysql, but I remember it stuffing the config somewhere else. For removal, you should use your distro's tools if it was a package, and ideally, you should use your distro's package for the update or reinstallation.
Old 12-26-2008, 01:47 AM   #3
LQ Newbie
Registered: Dec 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I already did another installation removed the packages from adept (I use kubuntu) I also removed it with "sudo apt-get autoremove --purge mysql-server mysql-server-5.0" and reinstalled it, and the folder wasn't created. When I try to initiate mysql this message appears

markez@Teresa:~$ sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
* Starting MySQL database server mysqld

And nothing happens because this file doesn't exists... So I don't know what to do. any idea?? thanks for the help!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[phpMYAdmin] Problem ! Help. I''ve deleted root user in MYSQL combilli Linux - Software 1 12-07-2006 01:30 PM
Deleted the mysql db files from /var/lib/mysql and reinstalling doesn't work! Frostblade Linux - Software 1 05-24-2006 10:16 AM
MySQL root permissions deleted newuser455 Linux - Software 6 03-20-2005 12:50 PM
MySQL deleted root account and can't re-install... ivj Linux - Software 2 07-09-2004 10:51 PM
deleted mysql table in mysql now cant do anything nakkaya Linux - Software 0 03-18-2003 06:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration