How to downgrade mysql in custombuild

WHI

Verified User
Joined
Sep 25, 2008
Messages
60
Hello,

How can I use custombuild to download the old mysql version 5.1.57 and then downgrade to this version in custombuild?
Could you help me please?
Thanks a lot!
 
Hello,

0. Create MySQL dumps and read this http://dev.mysql.com/doc/refman/5.5/en/downgrading-to-previous-series.html

Code:
cd /usr/local/directadmin/custombuild

1. Disable autoversion in options.conf

Code:
./build set autover no

2. Download MySQL packages from http://files.directadmin.com/services/

You did not specify your OS name and version, so search a version by yourself.

3. Put desired version in versions.txt and update md5sum value there.

Code:
./build mysql
./build php n

p.s. Feel free to PM me, if you need my private help. Or search the advertising forum for somebody else.
 
how can make step 2?
i can try upgrade but i have error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

MySQL server PID file could not be found!

The server quit without updating PID file

please help.
mysql not starting
 
Are you asking how to download files from a site? Do I understand you correct?

You should read Mysql error logs, I don't have an idea what exactly is wrong on your server and why MySQL fails to start. There might be numerous reasons on it: from a typo in my.cnf ... to corrupted InnoDB....or whatever else.
 
He's doubleposting, also bumped a thread in the mysql section. It was explained in the thread itself that error logs needed to be looked at, with examples. Seems he does not read posts very well.
 
Back
Top