Error dropping database

vuong184

New Pleskian
Hello everyboy!

I'm a newbie using plesk 12 for vps linux. I'm using server at server4you.com with panel is plesk 12 for centos 6.
I have a problem with deleted database is can't delete it and error is:
Error dropping database (can't rmdir './911tool/', errno: 17)
Search for related Knowledge Base articles
Please help me delete a database not user. and when i login Webadmin i have a error from PhpMyadmin:
Welcome to phpMyAdmin

You probably did not create a configuration file. You might want to use the setup script to create one.

Error
MySQL said:

Cannot connect: invalid settings.
Please help me login to phpmyadmin and backup database.

Thanks!
 
@vuong184 This code means "file exists". In most cases the directory contains some MySQL file that MySQL doesn't feel about deleting. Such files could have been created by a SELECT ... INTO OUTFILE "filename"; command where filename had no path. In this case, the MySQL process creates them in its current working directory, which is the data directory of the database, e.g. /var/lib/mysql/data/nameofdatabase or by another reason. Or it could be another file in /var/lib/mysql/nameofdatabase

Move the file(s) from console outside (or delete if not needed) and retry. Also, determine why they were created in the first place - it could point to a bug in some application.
 
Back
Top