• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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