MySQL Forums
Forum List  »  Newbie

Re: Broken mysql, cannot use, remove, reinstall, fix
Posted by: Peter Brawley
Date: April 18, 2019 01:34PM

Show Variables Like ... is a command to be issued in the mysql client program, invoked in Linux in the terminal program with ...

sudo mysql -uYOUR_USERNAME -pYOUR_PSWD

The data folder is where mysql databases live on disk. Each db is a subfolder of the datadir. If someone adds non-mysql files to such a subfolder, mysql can't drop the database by deleting the folder.

Read about Show Variables and the data folder in the mysql manual.

If it's me with your stated unfamiliarity with MySQL basics and I'm working with health-related data, I'll want to hire a local DBA with MySQL experience for a bit to help avoid disasters till I know more.



Edited 1 time(s). Last edit at 04/18/2019 01:43PM by Peter Brawley.

Options: ReplyQuote




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.