020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.

DirectAdmin MySQL upgrade
[MySQL upgrade]

How to upgrade MySQL using DirectAdmin (1.40.3) command line utility: custombuild (v 2.0).

step 1:

0pen putty (or other terminal) and login to your server.

You may try this video to how to use putty: http://youtu.be/edib_IJxxm4

Please fast-forward some 10-15 seconds to see relevant stuff.

 

step 2:

Go to directory, where custom build is located.

cd /usr/local/directadmin/custombuild

 

step 3:

Run commands  (mysql vailable: 5.0, 5.1).

mysql=5.5
mysql_inst=yes
mysql_backup=yes

 

step 4:

Upgrade sql.

sudo ./build mysql

 

step 5:

Rebuild php.

./build php n

 

step 6:

Server should restart by itself, but if not - do it.

 

NOTE:

Custombuild v 2.0 has only apache 2.4, so do not run full custom update, if you have (and want to keep) another version.

 

Possible problem:

MySQL may return error and refuse to start - error: "the server quit without updating pid file"

solution:  (worked for me - look for my.cnf in /etc dir)

step 1: mv my.cnf my.cnf.bak (rename mysql conf file to backup - this will remove conf file)
step 2: restart server: sql will rewrite conf file to defaults for given version and start up properly (hopefully)