• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Plesk MySQL Database

J

jeffm@

Guest
I just did a new install of plesk, on a new machine and when I try to login to the control panel for the first time, I get the following error:

Warning: db_query() [function.db-query]: Couldn't fetch mysqli in C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3 on line 199
ERROR: PleskMainDBException DB query failed: Unknown error 0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:213 db_query(string 'set names utf8') 1: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:619 reconnect() 2: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:584 db_connect() 3: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:79

I tried changing the database to use an external database on another machine, but it didnt like that. So this is a 2 part questions: first, whats with the error shown above and second, how do I get plesk to use the MySQL it installed?
 
Have you changed %plesk_dir%\admin\php.ini?
Also try to switch back to local databse and check was error gone

John S.G.
 
I havent changed %plesk_dir%\admin\php.ini? considering I dont know how. Also, how do I switch back to local database? As stated in my original post, I just did a fresh install without changing anything!
 
Warning: db_query() [function.db-query]: Couldn't fetch mysqli in C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3 on line 199
ERROR: PleskMainDBException DB query failed: Unknown error 0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:213 db_query(string 'set names utf8') 1: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:619 reconnect() 2: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:584 db_connect() 3: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:79

password doesn't match in Plesk and sql
set password manually matched

John S.G.
 
I'm having the same issue after updating to 8.3.0.1 from 8.3 do u guys know how to fix this? because I don't remember the old password
 
Back
Top