echo "#Possible values - 5.0, 5.1" >> ${OPTIONS_CONF}
elif [ "${MYSQL_OPT}" = "5.5" ]; then
MYSQL_VER=`getVer mysql5.5`
________if [ "${MYSQL_OPT}" = "5.1" ] || [ "${MYSQL_OPT}" = "5.5" ]; then
[root@mercury custombuild]# ./build mysql
--2010-12-27 15:27:54-- http://files.directadmin.com/services/all/mysql/64-bit/MySQL-client-5.5.8-1.glibc23.x86_64.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-27 15:27:55 ERROR 404: Not Found.
--2010-12-27 15:27:55-- http://files.directadmin.com/services/all/mysql/64-bit/MySQL-devel-5.5.8-1.glibc23.x86_64.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-27 15:27:55 ERROR 404: Not Found.
--2010-12-27 15:27:55-- http://files.directadmin.com/services/all/mysql/64-bit/MySQL-server-5.5.8-1.glibc23.x86_64.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-27 15:27:56 ERROR 404: Not Found.
--2010-12-27 15:27:56-- http://files.directadmin.com/services/all/mysql/64-bit/MySQL-shared-5.5.8-1.glibc23.x86_64.rpm
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-12-27 15:27:57 ERROR 404: Not Found.
Looks like it's in custombuild, but the problem is that it's looking for the wrong files for my system I guess....
2010-12-29 21:39:00 (268 KB/s) - `mysql-5.5.8.tar.gz' saved [24258297/24258297]
Extracting mysql-5.5.8.tar.gz ...
./build: ./configure: not found
Done. Making mysql-5.5.8...
Trying to make mysql-5.5.8...
make: no target to make.
*** The make has failed, do you want to try to make again? (y,n):
It's already added to CustomBuild 1.2 and should be added to 1.1 soon.
Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/xxxxx.xxxxx.com.pid).
Giving mysqld a few seconds to start up...
Looking for 'mysql' as: /usr/bin/mysql
Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/lib/mysql/mysql.sock'
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
cp: `/usr/lib/libmysqlclient.so' and `/usr/lib/mysql/libmysqlclient.so' are the same file
Restarting MySQL.
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/xxxxx.xxxxx.com.pid).
It is recommended to do "./build php n" after MySQL update.
/usr/local/php5/bin/php: /usr/lib64/libmysqlclient.so.16: no version information available (required by /usr/local/php5/bin/php)
110110 19:24:36 InnoDB: Using Linux native AIO
110110 19:24:36 InnoDB: Initializing buffer pool, size = 256.0M
110110 19:24:36 InnoDB: Completed initialization of buffer pool
110110 19:24:36 InnoDB: highest supported file format is Barracuda.
110110 19:24:36 InnoDB: 1.1.4 started; log sequence number 8607838993
110110 19:24:36 [ERROR] /usr/sbin/mysqld: unknown option '--skip-locking'
110110 19:24:36 [ERROR] Aborting
110110 19:24:36 InnoDB: Starting shutdown...
110110 19:24:37 InnoDB: Shutdown completed; log sequence number 8607838993
110110 19:24:37 [Note] /usr/sbin/mysqld: Shutdown complete
The --enable-locking and --skip-locking server options (use --external-locking and --skip-external-locking).
Perfect! I'll be building some new FreeBSD 64 machines soon.It's already added to CustomBuild 1.2 and should be added to 1.1 soon.
[root@alpha /usr/local/directadmin/custombuild]# ./build mysql
Extracting mysql-5.5.8.tar.gz ...
./build: ./configure: not found
Done. Making mysql-5.5.8...
Trying to make mysql-5.5.8...
make: no target to make.
*** The make has failed, do you want to try to make again? (y,n):
Custom 1.2 on FreeBSD 64 still not working