• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Database Error after Upgrade to PHP5.2

T

teddy

Guest
Hi,

i upgrade today my php 5.1.6 tp php 5.2.13
php and all user mysql-database works correctly, but i have not access as root (over the plesk panel) to mysql.
i can´t create new databases or change databases (e.g. password or user)
also i can´t change the admin-password.

error-message on plesk - when i will create a db-user:
Table 'mysql.servers' doesn't exist

all permission from plesk to the database not avaible.

what can i do?
 
Mysql root user is replaced to admin user during Plesk installation. You can use following command for full access to mysql:

mysql -uadmin -p`cat /etc/psa/.psa.shadow`
 
Fixed

Hi,

the Problem was fixed.
The error was not a problem from plesk - but i´ve installed the php5 update from http://www.atomicorp.com/
In this update i alos installed a mysql upgrade.
On this it gives an error - but one database table are not present an mysql was looking for them.

I create the table with server in the database mysql with:

CREATE TABLE `servers` (
`Server_name` char(64) NOT NULL,
`Host` char(64) NOT NULL,
`Db` char(64) NOT NULL,
`Username` char(64) NOT NULL,
`Password` char(64) NOT NULL,
`Port` int(4) DEFAULT NULL,
`Socket` char(64) DEFAULT NULL,
`Wrapper` char(64) NOT NULL,
`Owner` char(64) NOT NULL,
PRIMARY KEY (`Server_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
COMMENT='MySQL Foreign Servers table';
 
Back
Top