MySQL 5.5

You should be running:

./build update
./build mysql d

Without a ./build update it is probably not grabbing the file from the server.
 
Yeah FreeBSD is failing to update to 5.5.8.


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.
 
Last edited:
Hello,

I've just updated the build scripts to use the "linux2.6" instead of "linux" if MySQL 5.5 is being used.

John
 
Hello John,

thanks a lot, it worked, but now i've another issue, and it is not because of the not killed mysql pid...

when i try to start mysql.sock is going to be deleted and even if i'm not restarting, after some second it is going to be deleted...

some suggestion?
 
My problem is there isn't enough space on the /usr volume. :D It must require MORE than twice the DB size to pull it off...tripple? :confused:
 
It is safe to upgrade from mysql 5.0.51 to 5.5?

How the upgrade affects the tables etc?

I am asking because i want to be able to go back to 5.0.51 if i face any problem.
 
Hello,

That means there is no Makefile because the ./configure failed.
The cause of the configure failure should be higher up in the output.. check from about 2 pages up in the output, all the way to the end. The error should be there somewhere (just paste the whole last 2 pages if unsure, ~50 lines)

John
 
Whole output

[root@alpha /usr/local/directadmin/custombuild]# ./build update_script
/usr/local/directadmin/custombuild/build.new 100% of 259 kB 86 kBps

./build update
[......]

[root@alpha /usr/local/directadmin/custombuild]# ./build mysql
./mysql-5.5.9.tar.gz 100% of 22 MB 262 kBps 00m00s
--2011-03-08 20:59:40-- http://files.directadmin.com/services/all/mysql/mysql-5.5.9.tar.gz
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23841228 (23M) [application/x-gzip]
Saving to: `mysql-5.5.9.tar.gz'

100%[======================================================================================================>] 23,841,228 148K/s in 89s

2011-03-08 21:01:10 (260 KB/s) - `mysql-5.5.9.tar.gz' saved [23841228/23841228]

Extracting mysql-5.5.9.tar.gz ...
./build: ./configure: not found
Done. Making mysql-5.5.9...
Trying to make mysql-5.5.9...
make: no target to make.

*** The make has failed, do you want to try to make again? (y,n):
 
mysql 5.5 on debian 6 64bit

on debian 6 i have the follow problem



Starting DirectAdmin: /usr/local/directadmin/directadmin: /usr/local/mysql/lib/libmysqlclient.so.16: no version information available (required by /usr/local/directadmin/directadmin)
 
Same here:

Extracting mysql-5.5.9.tar.gz ...
./build: ./configure: not found
Done. Making mysql-5.5.9...
Trying to make mysql-5.5.9...
make: no target to make.

*** The make has failed, do you want to try to make again? (y,n):


I am on FreeBSD 7.4 and I wanted to upgrade from 5.1 to 5.5
 
Here is the steps I used to FreeBSD install MySQL 5.5 from custombuild after I received that error.

1. Install cmake from ports /usr/ports/devel/cmake
2. Run the ./build mysql (if you get error continue)
3. Go to your custombuild folder and go into the mysql-5.5.x working directory.
4. Run cmake
5. Run the ./build mysql script again.

That worked perfect for me. Cmake will create the build then the build will finish the job and install it properly for you.
 
There appears to be a problem with the script, however. While the script successfully updates MySQL, it does not update the files in /usr/local/bin.

Code:
cd /usr/local/bin
./mysql --version
./mysql  Ver 14.12 Distrib 5.0.91, for portbld-freebsd7.2 (amd64) using  5.2
Code:
cd /usr/local/mysql/bin
./mysql --version
./mysql  Ver 14.14 Distrib 5.5.14, for FreeBSD7.2 (amd64) using  EditLine wrapper

So apparently, after the update, one must get a listing of the directories, and update the files manually.
 
Debian 6 - MySQL: 5.1.58 to MySQL: 5.5.15

I had problems upgrading to 5.5 and MySQL wouldn't start so I have just reverted back to 5.1 for now.

Code:
./build update
./build mysql d

Code:
Stopping mysqld ...
-e Stopping mysqld:[ OK ]
-e Starting mysqld:[ OK ]
Giving mysqld a few seconds to start up...
Looking for 'mysql' as: /usr/local/mysql/bin/mysql
Looking for 'mysqlcheck' as: /usr/local/mysql/bin/mysqlcheck
Running 'mysqlcheck with default connection arguments
/usr/local/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server throu
gh socket '/tmp/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
Restarting MySQL.
-e Stopping mysqld:[ FAILED ]
-e Starting mysqld:[ OK ]
It is recommended to do "./build php n" after MySQL update.
 
Back
Top