Thông báo lỗi drop database statement is disabled php
When we use phpmyadmin there is some restrictions about removing the database. We can not run the command ‘drop database db_name’ from phpmyadmin. We have to login to mysql console and run the command. To enable drop database in phpmyadmin we need to do the following changes in configuration file. Show open /etc/phpmyadmin/config.inc.php and add the folllowing line: $cfg['AllowUserDropDatabase']=TRUE; Now, you can able to drop database from phpmyadmin. I went into xampp/phpmyadmin/libraries/config.default.php, and changed $cfg['AllowUserDropDatabase'] to true and the same problem occurred. Any ideas? Update: I just realized that I wasn't even supposed to edit config.default.php and instead copy and paste values into config.inc.php which is what I did and still same problem. Last edited by Lord Northern; 09-23-2011 at 08:51 PM.
|