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

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