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

After upgrade to Plesk 11 having this Error

anthony2610

New Pleskian
After upgrading to Plesk 11, I try to create a new database and New Database User but I can not use Webadmin. When I try to click Webadmin button, i have new window and show this Error:

Error

MySQL said: Documentation
Cannot connect: invalid settings.


I still have problems, so can you help me?

Thanks!!!
 
Do you have any related error messages in /var/log/sw-cp-server/error_log ?
 
I have error as you and i sent log:

PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given; File: /usr/local/psa/admin/plib/DatabaseManagerMySQL.php, Line: 243

Exception: PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given; File: /usr/local/psa/admin/plib/DatabaseManagerMySQL.php, Line: 243

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'mysql_close() e...', '/usr/local/psa/...', 243, Array)
#1 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(243): mysql_close(false)
#2 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(261): DatabaseManagerMySQL->bug115166(Resource id #152)
#3 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(55): DatabaseManagerMySQL->isDatabaseNameUsedImpl('d20606942974ffd...', Resource id #152)
#4 /usr/local/psa/admin/plib/DatabaseManager.php(405): DatabaseManagerMySQL->createDatabaseImpl('d20606942974ffd...', Array, Resource id #152)
#5 /usr/local/psa/admin/htdocs/server/db_server_databases.php(88): DatabaseManager->testConnection()
#6 {main}


2012-07-11 12:23:14: (mod_fastcgi.c.2746) FastCGI-stderr: PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Premature end of data (mysqlnd_wireprotocol.c:553); File: /usr/local/psa/admin/plib/DatabaseManagerMySQL.php, Line: 235

Exception: PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Premature end of data (mysqlnd_wireprotocol.c:553); File: /usr/local/psa/admin/plib/DatabaseManagerMySQL.php, Line: 235

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'mysql_connect()...', '/usr/local/psa/...', 235, Array)
#1 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(235): mysql_connect('localhost:3306', 'bug115166_17658', 'BUG115166_75940...')
#2 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(261): DatabaseManagerMySQL->bug115166(Resource id #392)
#3 /usr/local/psa/admin/plib/DatabaseManagerMySQL.php(55): DatabaseManagerMySQL->isDatabaseNameUsedImpl('admin_test', Resource id #392)
#4 /usr/local/psa/admin/plib/DatabaseManager.php(72): DatabaseManagerMySQL->createDatabaseImpl('admin_test', Array, Resource id #392)
#5 /usr/local/psa/admin/smb/application/library/Smb/Form/Final/Database.php(205): DatabaseManager->createDatabase(Object(Database))
#6 /usr/local/psa/admin/smb/application/controllers/DatabaseController.php(182): Smb_Form_Final_Database->processForm()
#7 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): DatabaseController->createAction()
#8 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#9 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(48): Zend_Controller_Front->dispatch(NULL)
#11 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run()
#12 {main}

Thanks !!

Thangloi
 

Attachments

  • error_log.zip
    7 KB · Views: 0
Last edited by a moderator:
Do you have in #/etc/hosts

127.0.0.1 hostname.com hostname localhost localhost.localdomain
 
Back
Top