• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Upgrade problem : Cannot connect to mysql server

D

Dupont

Guest
Hello,

I've got a problem when upgrading SiteBuilder from 4.2.0 to 4.5.0. Summary :

1) vi /etc/apt/sources.list (deb http://autoinstall.plesk.com/debian/SiteBuilder_4.5.0 etch all)
2) apt-get update
3) apt-get -f upgrade (problem libc6 !)
4) cd /var/cache/apt/archives
5) dpkg -i --force-all libc6_2.3.6.ds1-13etch7_amd64.deb
6) apt-get update
7) apt-get -f upgrade

Output :

Cannot connect to mysql server. SiteBuilder configuration will exit now.
Make sure mysql server is installed and running.
If root password is not empty put it in /root/.my.cnf
After finishing the installation run sb_config manually.

8) vi /root/.my.cnf

[mysqladmin]
user = root
password = *********

9) apt-get -f upgrade

(same error)
 
Episode 2 :

10) vi /root/.my.cnf

[mysql]
password=*****

11) mysql

(works. login automatically)

12) apt-get -f upgrade

Cannot connect to mysql server. SiteBuilder configuration will exit now.
Make sure mysql server is installed and running.
If root password is not empty put it in /root/.my.cnf
After finishing the installation run sb_config manually.
 
If Sitebuilder screen shows 4.5 version it looks like database was upgraded already.
Did you try to run 'sb_config' utility for configuration?

Try to set --db_admin_name and --db_admin_passwd password parameters for 'sb_config' utility using this way:

# sb_config --db_admin_name root --db_admin_passwd ROOT_PASSWORD

After that run "sb_config --update_modules --update_templates --update_locales"

Also check Sitebuilder database version with following request:

# mysql -uroot -pROOT_PASSWORD sitebuilder3 -e 'select * from config_param;'
 
Back
Top