2

I installed mariadb-server.

never installed before mysql.

/var/lib/mysql was empty.

# apt-get install mariadb-server

blah~blah~

# service mysql restart
* Stopping MariaDB database server mysqld                                                                                     [ OK ] 
* Starting MariaDB database server mysqld                                                                                     [ OK ] 
* Checking for corrupt, not cleanly closed and upgrade needing tables.

* Checking for corrupt, not cleanly closed and upgrade needing tables. *

this is problem.

I try rm -Rf /var/lib/mysql

mysql_install_db

mysql_upgrade -p

I can't remove this corrupt message.

how can I?

thank you.

  • Please add some information. Does the server hang at this message, or does it start up correctly otherwise? Why did you remove the database folder? Does reinstalling mariadb-server work (sudo apt-get install --reinstall mariadb-server)? – Jos Jul 21 '14 at 13:06

1 Answers1

3

What are you panicking about? It's saying it's checking for corrupt tables.

It hasn't said it has found one.

Nothing to see here.

Oli
  • 293,335
  • I didn't create any databases and tables. "# mysqlcheck -p -A --auto-repair" It is not solution. thank you. – xenoside Jul 21 '14 at 12:29
  • Do you understand what the word checking means? It's just testing anything that is there. It isn't an error message. – Oli Jul 21 '14 at 12:32