Link to home
Start Free TrialLog in
Avatar of rfinaly
rfinaly

asked on

MySQL Database

Hello Exports,
In the past few weeks, every few days my WordPress MySQL database get empty for some odd reason, what I mean is that I get notification that my site is down, when I check what is going on I find that the MySQL database is completly empty, no tables no errors in the logs nothing. I can get the site up and running very fast by restoring the data dump and restart the MySQL service, but this is not a long term solution. The only error I can find from time to time is that the Prvilage.host table cound not be found? I see this error in the even logs.
Here is a few things I already try:
1. Re-install MySQL and wordpress, down this twice once on the old server and one on the new server.
2. Re-build the database and the site.
3. Run Mysql_update, run mysql_db
4. Repair installation several time.
Nothing really helps after  afew days it happen again.
I am corrently running MySQL on the some server, Windows 2008 R2, 64 bit.
MySQL verion is 5.1.56 if i remember correctlly, WOrd Pres is version 3.0.1
Anything I can do to resolve this issue? Can I use wordpress with MS SQL? if yes how?
Thank you
Roy
ASKER CERTIFIED SOLUTION
Avatar of Kalpan
Kalpan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rfinaly
rfinaly

ASKER

Kalmax: I use the MySQL Workbanch to assign the permissions, I am assuming it does the something? as the article you sent me.
Dave: Yes I assign a password and removed the anonymous account, however after the database is gone and the table is empty, when I go to the securty section under MySQL WorkBanck I do see the anonymous account and I cannot use MySQL until I remove it.

Also, do you think there is something in side the tables that might corrupt the database?
Thank you
Roy
It sounds to me like someone is breaking into your server and possibly re-installing MySQL.
Avatar of rfinaly

ASKER

OK, So can I found from MySQL logs or other logs if realy a re-install took place?
Roy
Maybe the server logs, I think the MySQL logs may get overwritten but I'm not sure.  Click on "Request Attention" and get the Microsoft Server zones added to your question.  Someone there should know where to look.
Avatar of rfinaly

ASKER

Guys,
I gave the point for both of you, even the solution was completly differente. But thank you for all the help.
Thanks for the points but you really should post your solution.  If nothing else so we would know why we didn't help you.