Page 1 of 2 | 1 | 2 | > | >> | All |
Posted By: view on March 26, 2014, 10:39 pm |
Hello
After migration websites from webuzo server to new webuzo server and using this tutorial http://www.webuzo.com/wiki/Migration_From_Webuzo All files,databases,emails are transfered without problems but i have a problem with connection to mysql.On all websites i have this error Quote Database Error: Unable to connect to the database:Could not connect to MySQL Than i`m tryed manual to transfer database,recreate mysql users,reinstall mysql....and nothing.. In error logs i found this: Quote Module 'pdo_mysql' already loaded in Unknown on line 0 PHP Warning: Module 'mysqli' already loaded in Unknown on line 0 How to resolve this problem? |
Posted By: divij on March 27, 2014, 4:50 am | Post: 1 |
Hi,
Sir, Please check whether default mysql is not installed on your server. If it is installed then remove the default mysql using following command: root>yum remove mysql Then reinstall mysql from Webuzo Apps categories. If you still face an issue please open a support ticket with your server root detail: https://www.softaculous.com/support/ |
Posted By: valley on March 27, 2014, 10:57 am | Post: 4 |
Hi,
Kill the MySQL service for once entirely and start it over: Root > killall -9 mysqld mysqld_safe Root > service mysqld start Hope it helps \m/ ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: view on March 27, 2014, 11:04 am | Post: 5 |
Thank you,this problem was resolved.
|
Posted By: valley on March 29, 2014, 4:11 am | Post: 6 |
Quote From : view March 27, 2014, 11:04 am Thank you,this problem was resolved.
Glad to learn that it worked for you !!! Cheers ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: valley on April 23, 2014, 4:39 am | Post: 8 |
Quote From : israel April 22, 2014, 10:38 pm Quote Database Error: Unable to connect to the database:Could not connect to MySQL About this error log: PHP Code
Any idea? Thanks guys ! Israel. Is your MySQL service running ? Restart it for once. Guide : http://webuzo.com/wiki/Restart_services ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: israel on April 23, 2014, 11:45 am | Post: 9 |
Quote From : valley April 23, 2014, 4:39 am Is your MySQL service running ? Restart it for once. Guide : http://webuzo.com/wiki/Restart_services I don't know, but I don't think that's about the mysql. Yes, the mysql service is running. Yes, the cloud instance has been restarted some times. PHP Code
Apache + PHP 5.3 running. ..Israel. |
Posted By: valley on April 24, 2014, 4:39 am | Post: 10 |
Try Login to your mysql server as root
http://www.webuzo.com/wiki/Category:FAQs#Password_for_MySQL ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: view on May 12, 2014, 10:24 pm | Post: 11 |
Hi Agein
On almost all my servers i still have same problem.Also i checked and get same errors on new installed server and in your DEMO version on your server have same errors in error log.Check screenshoot in attach or http://demo.webuzo.com/enduser/index.php?act=errorlog Edited by view : May 12, 2014, 10:25 pm |
Posted By: valley on May 13, 2014, 5:53 am | Post: 12 |
It's a friendly warning I suppose.
We shall replicate it and fix it ASAP. Apology for the inconvenience caused. ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: view on June 4, 2014, 1:13 am | Post: 13 |
This problem still filled error logs and clients constant have a questions about this errors.
|
Posted By: torcams on July 10, 2014, 3:14 am | Post: 14 |
It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times.
|
Posted By: valley on July 10, 2014, 5:26 am | Post: 15 |
Quote From : view June 4, 2014, 1:13 am This problem still filled error logs and clients constant have a questions about this errors.
Sir you can switch to PHP 5.4 at the moment. Quote It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times. What do the error logs have to say ? Location /var/log ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: torcams on July 10, 2014, 10:38 pm | Post: 16 |
My only website on the VPS is wordpress blog with just a static page.
Log attached, was too big. |
Posted By: torcams on July 10, 2014, 10:42 pm | Post: 17 |
It shuts down by itself and the it powers on by itself
|
Posted By: valley on July 11, 2014, 8:22 am | Post: 18 |
Check the MySQL logs
/var/log/mysqld.log It will explain you the cause of the issue. ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: torcams on July 13, 2014, 3:29 am | Post: 19 |
Here is what I get
I am guessing its a hacker trying to access my db and he brings it down. |
Posted By: torcams on July 13, 2014, 4:19 am | Post: 21 |
My site is on for like 1 min until it crashes, i have installed all those security apps and it doesn't help a bit...what can I do Valley? |
Posted By: valley on July 14, 2014, 5:30 am | Post: 22 |
Quote From : view June 4, 2014, 1:13 am This problem still filled error logs and clients constant have a questions about this errors.
Do you strongly require PHP 5.3 ? If not, switch to PHP 5.4 and you will no longer face the warnings. ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: valley on July 14, 2014, 5:37 am | Post: 23 |
Quote From : torcams July 13, 2014, 3:29 am Here is what I get
I am guessing its a hacker trying to access my db and he brings it down. Are you using a remote database ? Quote And the bruteforce log, which confirmes my theory. I have installed Brute Force Detection, Linux Malware Detect, Linux Environment Security from the apps page but I cannot find them anywhere, are they accessible only via ssh? Yes, they are accessible only via ssh. Quote It happens to me too and MYSQL crashing constantly, reinstalled it a couple of times. You logs define only warnings and no errors which cause the crash. ----------------------- Webuzo : Single User Control Panel Join Webuzo : |
Posted By: valley on July 15, 2014, 5:30 am | Post: 25 |
Quote What could be the problem then? Could you please open a support ticket with the root details of your server and access to your Webuzo Enduser Panel, we will debug and resolve your issues. Support : https://www.softaculous.com/support/open.php ----------------------- Webuzo : Single User Control Panel Join Webuzo : |