# apt-get install mysql-server-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-server-core-5.5
Suggested packages:
tinyca
The following NEW packages will be installed:
mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,782 kB/14.5 MB of archives.
After this operation, 49.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://rpm.scl.rs/linux/ubuntu/archive/ precise/main mysql-server-core-5.5 i386 5.5.22-0ubuntu1 [5,782 kB]
Fetched 5,782 kB in 38s (152 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-server-core-5.5.
(Reading database ... 243237 files and directories currently installed.)
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.22-0ubuntu1_i386.deb) ...
Selecting previously unselected package mysql-server-5.5.
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.22-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-core-5.5 (5.5.22-0ubuntu1) ...
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
120507 20:46:54 [Note] Plugin 'FEDERATED' is disabled.
120507 20:46:54 InnoDB: The InnoDB memory heap is disabled
120507 20:46:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120507 20:46:54 InnoDB: Compressed tables use zlib 1.2.3.4
120507 20:46:54 InnoDB: Initializing buffer pool, size = 128.0M
120507 20:46:54 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 67108864 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
120507 20:46:54 [ERROR] Plugin 'InnoDB' init function returned error.
120507 20:46:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120507 20:46:54 [ERROR] Unknown/unsupported storage engine: InnoDB
120507 20:46:54 [ERROR] Aborting
@Ritchard Thanks, but this didn't work for me :(
Here is what I get:
1)
Went fine
2)
# apt-get install mysql-server-5.5 server- core-5. 5 core-5. 5 rpm.scl. rs/linux/ ubuntu/ archive/ precise/main mysql-server- core-5. 5 i386 5.5.22-0ubuntu1 [5,782 kB] core-5. 5. core-5. 5 (from .../mysql- server- core-5. 5_5.5.22- 0ubuntu1_ i386.deb) ... server- 5.5_5.5. 22-0ubuntu1_ i386.deb) ... core-5. 5 (5.5.22-0ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-
Suggested packages:
tinyca
The following NEW packages will be installed:
mysql-server-5.5 mysql-server-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,782 kB/14.5 MB of archives.
After this operation, 49.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://
Fetched 5,782 kB in 38s (152 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-server-
(Reading database ... 243237 files and directories currently installed.)
Unpacking mysql-server-
Selecting previously unselected package mysql-server-5.5.
Unpacking mysql-server-5.5 (from .../mysql-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
120507 20:46:54 [Note] Plugin 'FEDERATED' is disabled.
120507 20:46:54 InnoDB: The InnoDB memory heap is disabled
120507 20:46:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120507 20:46:54 InnoDB: Compressed tables use zlib 1.2.3.4
120507 20:46:54 InnoDB: Initializing buffer pool, size = 128.0M
120507 20:46:54 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 67108864 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
120507 20:46:54 [ERROR] Plugin 'InnoDB' init function returned error.
120507 20:46:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120507 20:46:54 [ERROR] Unknown/unsupported storage engine: InnoDB
120507 20:46:54 [ERROR] Aborting
120507 20:46:54 [Note] /usr/sbin/mysqld: Shutdown complete
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)