Re: login and configure
The --initialize option is intended only for when you're setting up a brand-new MySQL instance that as yet has no databases at all. It's failing because MySQL is *already* initialised with the system and other default databases. If you really want to remove one specific database, the way to do this is to execute a
DROP DATABASE name statement in the mysql client. See
https://dev.mysql.com/doc/refman/8.0/en/drop-database.html in the MySQL Manual for info on how to use this statement.
And please mind your manners. Peter is quite knowledgeable about MySQL, and you can be pretty sure he's not asking the questions he's asking merely to pass the time of day, so perhaps you should let him help you by answering them.
cheers,
Jon Stephens
MySQL Documentation Team @ Oracle
MySQL Dev Zone
MySQL Server Documentation
Oracle
Subject
Written By
Posted
Re: login and configure
April 01, 2020 03:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.