klepec Posted May 13, 2012 Share Posted May 13, 2012 Why cant i drop databases in fresh WAMP 2.2d x64 installation? When i type DROP DATABASE 'something' - it says that statement has been disabled. Is there a way to enable it? Thanks Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/ Share on other sites More sharing options...
ManiacDan Posted May 13, 2012 Share Posted May 13, 2012 You might not have the privileges set up properly. Are you logged in as root? Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345125 Share on other sites More sharing options...
klepec Posted May 13, 2012 Author Share Posted May 13, 2012 Yes i am logged in as root. Fresh installation. Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345127 Share on other sites More sharing options...
ManiacDan Posted May 13, 2012 Share Posted May 13, 2012 What is saying statement disabled? This is your own machine, you did a fresh install of MySQL, and you logged right into the command line? How did you create the database? What's the actual error? Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345131 Share on other sites More sharing options...
klepec Posted May 13, 2012 Author Share Posted May 13, 2012 Sorry, i forgot to mention, it is a phpmyadmin. Database was created in phpmyadmin's SQL command line: CREATE DATABASE something; I would just like to be able to delete it the same way, but the phpmyadmin does not let me (it says that this command is disabled). Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345133 Share on other sites More sharing options...
ManiacDan Posted May 13, 2012 Share Posted May 13, 2012 PHPMyAdmin disables or moves the more dangerous features. Do it for real on the actual command line, or follow these instructions for some other ways. Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345166 Share on other sites More sharing options...
klepec Posted May 14, 2012 Author Share Posted May 14, 2012 okay, thank you Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345262 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.