Question

Mysql HELP

Ive done Stop mysql mysqld_safe --skip-grant-tables &

After you’re returned to the bash prompt:

The bash prompt never comes up , it just does nothing when i run

mysqld_safe --skip-grant-tables &

or

mysqld_safe --skip-grant-tables


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@meloncraftnetwork: <pre>sudo apt-get purge mysql-server <br>sudo apt-get autoremove --purge <br>sudo apt-get install mysql-server</pre>

How can i simply delete it then make a new one , and i dnt know my db username or db name

There’s a basic overview of MySQL commands that might be helpful to you: <br> <br>https://www.digitalocean.com/community/articles/how-to-create-and-manage-databases-in-mysql-and-mariadb-on-a-cloud-server <br> <br>Do you need to retain the info in the database, or are you starting fresh? It’s much simpler to delete the old one and create a new.