
Originally Posted by
Jonjimar
WHM 11.28.64
X3 theme
mysql> SHOW TABLE STATUS FROM swatcom_dprj1;
ERROR 1049 (42000): Unknown database 'swatcom_dprj1'
mysql>
MySQL version 5.0.91-community
I used r1soft, and the db isn't there!
Was the affected account transferred from a different server, or was the account originally created on the same server where it currently resides?
Were any administrative changes performed recently that may affect the MySQL configuration (e.g., relocating the MySQL data directory)?
If the SQL database does not exist and if no viable backup is available, I believe the data may need to be recreated, (i.e., starting fresh from scratch).
While I'm sure you probably have already done this, I would double-check any available backups, including to verify if there may be a backup of the MySQL data directory as well as individual SQL database dumps.
I would also try to see if there may be any trace of similarly-named files or sub-directories located in the MySQL data directory, which is at the following path by default:
The following commands might help for search purposes, (while ensuring to replace "database_name" with the actual name of the missing MySQL database):
Code:
# find /var/lib/mysql -name database_name
# locate database_name
# find / -name database_name