Why does this happen? How should I fix it? Can I just restart the sql service? How to do so?
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
* Are you sure you have the correct username and password? * Are you sure that you have typed the correct hostname? * Are you sure that the database server is running?
If you're unsure what these terms mean you should probably contact your host.
I found out a easy way to update the Database name of a WP installation through phpmyadmin panel, However I can't seem to update or refresh the Parallels WP Settings with correct information. Is this a bug?
This is how to reproduce:
From phpMyAdmin select the database you want to select, in the tabs there's one called Operations, Go to the rename section.
Update the user privileges to the new Database name and remove the old privileges (save) Then manually update the wp-config file which contains the 'Database name' (save) Then goto Parallels Plesk > Websites & Domains> WordPress Installations > Change Settings
Here you should notice the Change Settings for the WordPress Installation still contains the old Database name.
if I try to use the new wordpress service in the admin panel, I get following errors:
By starting a search of wordpress installations: PHP Fatal error: "Die Suche nach WordPress-Installationen wurde mit Fehlern abgeschlossen: Resource with UID 'c94fef81-1552-43e1-ae5b-ce125776caa7' not found."
One installation is found but by open the detail view I get the error "Call to undefined function is_admin() in /usr/share/plesk-wp-cli/php/wp-cli.php(18) : eval()'d code on line 87".
When I visit the Wordpress Toolkit page on one of my servers I get the following error...Internal error: Specified column "name" is not in the row
MessageSpecified column "name" is not in the row File Abstract.php Line179 TypeZend_Db_Table_Row_Exception Go To Previous Page
This server appeard to upgrade successfully, and has the relevant tools installed with no errors on apt-get.Perhaps removing and re-installing the wordpress toolkit will work?
I have over 5 WP installations on my Server and i installed all manual and had never issues.
Now i installed a again a WP Site and after i go to the Wordpress Toolkit to search for the new installation i got the following Message:
PHP Parse error: syntax error, unexpected '?' in /usr/share/plesk-wp-cli/php/wp-cli.php(23) : eval()'d code on line 1 {"err_code":0,"err_message":"
With error cannot connect to DB.
So all WP installations are running fine instead of the new one.... I didn't change any configs files of PHP all is standard, the wp-config.php is correct, the Site is running fine.
From my point of view is this an issue by Plesk due to Parse error message at the files of Plesk, see error message!
System: OS Debian 7.8 Plesk Version 12.0.18 Update #43, zuletzt aktualisiert: 20. April 2015 13:17:36
I know with an older Version of Plesk 12.0.18 it was working fine too, so the bug was implemented with a MU.
I checked the file as well and find out that at all PHP files the code is not closed at the end so the "?>" is always missing.
For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.
I have a client with a dedicated server running. Spec below.
The problem I am having is with incoming email. When I set up a new email account it can take about 10 attempts to log on to the incoming mail server. Once it has connected it will be ok for a short while then I will get a connection error and no emails will come through.
This is happening across all platforms, PC / MAC / iPhone and iPad.
I am a web designer with limited knowledge of the setting up of the server and was looking to set up email server within plesk.
General CPUGenuineIntel, Intel(R)Core(TM) i5-2400 CPU @ 3.10GHz VersionParallels Plesk Panel v11.0.9_build110120608.16 os_Ubuntu 12.04 OSUbuntu 12.04.4 LTS Key numberPLSK.02873817.0002 System Uptime: 60 day(s) 10:03
Hostname IP address OSUbuntu 12.04.4 LTS Panel version11.0.9 Update #62
[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
From admin account there is no problem to create databases.I`ve run bootstrap.sh repair successfully but still not working.Plesk 12.0.18 #55 Ubuntu Linux 10.04
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE Plesk 11.5, 11.5.30 Update #44, last updated at April 30, 2014 03:25 AM, Centos 6.5 (Final), Linux 64bit
PROBLEM DESCRIPTION When I try to add an extra MySQL server, running on a different server, I always get an error that the user has no admin access. But the user I created does have admin access to the database. The remote database is a MySQL 5.5 on a Linux Ubuntu 12.04 LTS server
STEPS TO REPRODUCE Tools & Settings -> Database Servers -> Add Databases server
ACTUAL RESULT Error: Test connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'%' to database 'd536cedf97037e'
EXPECTED RESULT A working database connection.
ANY ADDITIONAL INFORMATION These queries are logged by MySQL:
If I just ignore this message, go to a subscription and create a database, then the database gets created just fine. It's just Plesk that thinks that something went wrong.
why but autoupdate fails. It doesn't give a reason why it cant backup.
For line of log :
START pp11.5.30-bootstrapper-11.5.30-cos5.build115131216.11 installing AT Thu Mar 27 07:43:37 CET 2014
Last lines of log :
===> Upgrading database
Trying to start service mysqld... mysqld (pid 24610) is running... done Trying to establish test connection... connected done Trying to find psa database... version is 011005030 Version is OK, no need to create psa database. Trying to backup MySQL database... ERROR while trying to backup MySQL database Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again
Trying to start psa...
**** Product prep-install for BASE failed.
***** problem report ***** ERROR while trying to backup MySQL database Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again STOP Bootstrapper 11.5.30 prep-install for BASE AT Tue Jun 17 04:04:48 CEST 2014
Error: Test the database server connection failed:
mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
Windows setup: Plesk Panel 11.5 - Server 2012r2 - IIS 8.5 - PHP 5.3/5.4/5.5 - mySQL/MSSQL. Server runs behind firewall (NAT). Setup with local DNS pointing all A records towards public IP.
Situation: Installed Wordpress through Plesk applications. (mysql). URL....Installs themes in WP console. Everything ok. Installs theme from file, site gets an 500 error. Sometimes installation of theme goes fine, but once activated or previewed it shows 500 error.
Error: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
I have a problem. I am running Plesk 11 with Windows 8. I installed wordpress and joomla. If I want to make one update from joomla 3.0 to 3.0.3 I get the error Internal Server error 500.
In Wordpress I get a error, too: By the update from 3.5 to 3.5.1 i get the error: The directory is write protect or not available.
In WordPress I instert in the wp-config.php following.
define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/' );
Now, does the updates to WordPress and plugins work.
My question is, I am running not only one website with WP. How can I make the settings for all WP instances running on the server? And How can I fix it with the Joomla update?
When I update servers via CLI autoinstaller, I always (afair) get this mysqldump error message:
Code:
Stopping psa... * Stopping Plesk engine pool manager sw-engine-fpm ...done. done -- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
mysqldump: Got error: 1049: Unknown database 'atmail' when selecting the database
===> Cumulative APS controller database (apsc) upgrade has been started. ===> Cumulative upgrade of APS controller database has been completed. ===> Cumulative Plesk database upgrade (revertable stage) has been started. ===> Preparing Plesk database upgrade (revertable stage). ===> Cumulative upgrade of Plesk database (revertable stage) has been completed. Reading package lists...
There is no database "atmail" on any of our Plesk servers. Simple solution should be to first check if the DB exists before performing actions on it.As a bonus, perhaps it would be possible to suppress the warning about mysql.event.
I just configured the plesk server to only allow ftps connections.
When I try to access with a ftp account on the server itself it works well, however when I try to access it from a client PC it get these errors :
(...) Response: 200 Type set to I. Command: PASV Response: 227 Entering Passive Mode (XXX,XXX,XX,XX,XXX,XX). Command: LIST Response: 150 Opening BINARY mode data connection. Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
On the client PC I configured Filezilla in Passive mode with "Require explicit FTP over TLS".
Normally for the firewall only the port 21 is needed or am I wrong (with explicit FTP and passif configured)?