Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySql update question

Status
Not open for further replies.

ITbeast

IS-IT--Management
Jul 25, 2006
67
US
I have a guy doing some work on my website for me and he forwarded me a list of requirements. One of the requirements was that php should be able to connect to the mysql database. I researched a little bit and found php-mysql would facilitate this. I installed it via yum:
#yum install php-mysql.i386

Yum told me that there were some dependencies, so without looking too closely, I hit Y to continue and it seemed to remove my mysql-server! Here is some output from the yum.log:

Feb 19 14:34:33 Installed: perl-DBI.i386 1.40-8
Feb 19 14:34:42 Installed: mysql.i386 4.1.20-3.RHEL4.1.el4_6.1
Feb 19 14:34:44 Installed: php-mysql.i386 4.3.9-3.22.9
Feb 19 14:34:49 Erased: MySQL-server
Feb 19 14:34:54 Erased: MySQL-client


So my question is:

How badly did I mess things up?
Can I simply reinstall mysql with yum and expect the databases to still be present?
 
It should be fine. Check /var/lib/mysql/ to see if your databases are still there. Just in case, I hope you have a backup. :)

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top