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 Quote 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? Quote 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. Quote 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? Quote 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). Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/262478-wamp-drop-database/#findComment-1345262 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.