• 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.

Unknown column 'server_version' in 'field list'

L

lancep

Guest
Hi all,

To cut a long story short, I have had an utter nightmare with plesk of late. (4 1&1 server reimages, anyone?)

Unable to bear the downtime of another remote reimage, I ended up doing a yum uninstall of psa, followed by a manual download/install of the plesk 8.3 autoupdate script. Everything has been perfect, till when I tried to add a database. This error appears:

MySQL query failed: Unknown column 'server_version' in 'field list'

0: /usr/local/psa/admin/plib/common_func.php3:218
db_query(string 'select `id`, `host`, `port`, `type`, `last_error`, `server_version` from DatabaseServers')
1: /usr/local/psa/admin/plib/DatabaseServerManager.php:194
DatabaseServerManager->fetchServers()
2: /usr/local/psa/admin/plib/class.DBAddForm.php:95
DBAddForm->assign(array, array)
3: /usr/local/psa/admin/htdocs/domains/databases/db_add.php:136


I did do some research on the forum, and ran a mysql query to see what the version info in the db actually was: it said 0830. Hmm. The plesk installer for 8.3 did actually fail, but I logged in and everything seemed to be fine.

Any help you can give me would me much appreciated. I do not not NOT want to reimage or start again :/

Thanks in advance.
 
Hi
What do you get when executing the following
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from DatabaseServers;"

What MySQL version do you have installed?
Is MySQL version detected correctly in Plesk CP > Components management ?
what is the output of
/usr/local/psa/admin/sbin/packagemng mysql
 
Back
Top