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?
#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?