MySQL 5.1.49 errors before install.

modem

Verified User
Joined
Apr 7, 2004
Messages
355
Hello all,

When trying to upgrade from MySQL 5.1.40 to the 5.1.49 (Not using 5.1.50 due to the php 5.3.3 compile error others are having) I get the following error during MySQL trying to install.

Using the command ./build mysql

Your MySQL directory '/var/lib/mysql' has more than one PID file:
ls: /var/lib/mysql/*.pid: No such file or directory
Please check which one (if any) corresponds to a running server
and delete all others before repeating the MySQL upgrade.
error: %pre(MySQL-server-5.1.49-1.glibc23) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.1.49-1.glibc23

I did check and the /var/lib/mysql folder does not have any PID files in there, either hidden or visible. Has anyone seen this before and know how to solve it??
 
Maybe if it's not too much trouble, you can post the fix in case anyone comes to this topic when searching the same errors.
 
Back
Top