Mysql not work

filo

New member
Joined
Jan 6, 2015
Messages
2
OS: Debian 7 (Wheezy)
I tried to optimize the database, but an error an error. I wanted to use this program -> http://mysqltuner.com/
Then the database does not want to start or update.

Code:
root@s1:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up mysql-server-5.5 (5.5.40-0+wheezy1) ...
[ ok ] Stopping MySQL database server: mysqld.
150106 23:07:06 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150106 23:07:06 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
150106 23:07:06 [Note] Plugin 'FEDERATED' is disabled.
150106 23:07:06 InnoDB: The InnoDB memory heap is disabled
150106 23:07:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150106 23:07:06 InnoDB: Compressed tables use zlib 1.2.7
150106 23:07:06 InnoDB: Using Linux native AIO
150106 23:07:06 InnoDB: Initializing buffer pool, size = 128.0M
150106 23:07:06 InnoDB: Completed initialization of buffer pool
150106 23:07:06 InnoDB: highest supported file format is Barracuda.
150106 23:07:06  InnoDB: Waiting for the background threads to start
150106 23:07:07 InnoDB: 5.5.40 started; log sequence number 1595685
150106 23:07:07  InnoDB: Starting shutdown...
150106 23:07:08  InnoDB: Shutdown completed; log sequence number 1595685
insserv: script mysql: service mysql already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-server-5.5
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Help me, thanks in advance! :)
 
Please use CustomBuild to upgrade your instance of MySQL :)
 
I tried

root@s1:/usr/local/directadmin/custombuild# ./build mysql
You cannot install MySQL, because you do not have it set in options.conf file.
 
Hello,

try this

Code:
cd /usr/local/directadmin/custombuild
./build set mysql_inst yes
./build update
./build mysql
 
Back
Top