palantir
Verified User
[SOLVED] Mysql install fails?
I installed DA yesterday. I got with a standard installation on Debian 4. Mysql was correctly installed and has some testing websites running against it. Now, I wanted to rebuild it.
I typed:
that's strange, as mysql is in fact installed. Ok, I went on, and edited the options.conf file, and changed mysql_inst=no to yes. Then I typed:
but it fails:
What's the problem?
I am a bit confused, because in the options.conf I also see that uebimiau is set to no, while it is installed, and so is cron...
I installed DA yesterday. I got with a standard installation on Debian 4. Mysql was correctly installed and has some testing websites running against it. Now, I wanted to rebuild it.
I typed:
Code:
root@zanzara:/usr/local/directadmin/custombuild# ./build options
Apache: 2.2.10
Dovecot: 1.1.7
AWstats: no
exim.conf update: no
MySQL: no
MySQL backup: yes
PHP: 5.2.6 as CGI with mail() header patch
phpMyAdmin: 3.0.1.1-all-languages
ProFTPD: 1.3.1
Atmail webmail: no
RoundCube webmail: 0.1.1
Run "clean" every time: yes
Run "clean_old_webapps" every time: no
Show texts in bold: yes
SquirrelMail: 1.4.16
UebiMiau: no
Zend Optimizer: no
that's strange, as mysql is in fact installed. Ok, I went on, and edited the options.conf file, and changed mysql_inst=no to yes. Then I typed:
Code:
./build update
./build mysql
but it fails:
Code:
root@zanzara:/usr/local/directadmin/custombuild# ./build mysql
Dumping database **** (hidden)
Dumping database da_roundcube
Dumping database mysql
Dumping database **** (hidden)
Stopping mysqld ...
Stopping mysqld: [ OK ]
tar: mysql-5.0.67-linux-i686.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Starting mysqld: [ OK ]
Giving mysqld a few seconds to start up...
Looking for 'mysql' in: /usr/local/mysql-5.0.67-linux-i686/bin/mysql
Looking for 'mysqlcheck' in: /usr/local/mysql-5.0.67-linux-i686/bin/mysqlcheck
Running 'mysqlcheck'...
/usr/local/mysql-5.0.67-linux-i686/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
Restarting MySQL.
Stopping mysqld: [ FAILED ]
Starting mysqld: [ OK ]
It is recommended to do "./build php n" after MySQL update.
What's the problem?
I am a bit confused, because in the options.conf I also see that uebimiau is set to no, while it is installed, and so is cron...
Last edited: