Koozali.org: home of the SME Server

MySQL Upgrade problem

Offline Teviot

  • *
  • 610
  • +0/-0
MySQL Upgrade problem
« on: August 01, 2005, 09:22:41 AM »
Hi All

I upgraded my MYSQL server using http://ergin.dyndns.org/download/MySQL-4_1_13.sh

Now when I go to WEBMAIL or PHPMYADMIN I get and error.

Error for WEBMAIL
Quote
A fatal error has occurred:

DB Error: connect failed

[line 108 of /home/httpd/html/horde/lib/Prefs/sql.php]

Details have been logged for the administrator.



Error for PHPMYADMIN
Quote
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Please HELP
Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
MySQL Upgrade problem
« Reply #1 on: August 01, 2005, 01:01:28 PM »
Down at the end of the install script,  I found an error.

the script has in it
Quote
   # Create service symlink & start MySQL
    ln -s /usr/sbin/mysqld /usr/libexec/
    service mysqld start


and should be
Quote
   # Create service symlink & start MySQL
    ln -s /usr/sbin/mysqld /usr/libexec/
    service mysql start


Hope this help others.
Adrian
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

ergozd

MySQL Upgrade problem
« Reply #2 on: August 01, 2005, 01:29:11 PM »
Thank you for your feedback, I've "corrected" the script.