Welcome to the Linux Foundation Forum!

MariaDB (LAB 18.1)

Hello,

While following the steps in the lab 18.1 at step 11 when I do
mysql -u student -p test
I get
ERROR 1049 (42000): Unknown database 'test'

mysqlshow

+--------------------+
| Databases |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
+--------------------+

So, it seems like I don't have a 'test' database

I double checked, I opted for leaving the test database while doing mysql_secure_installation

Remove test database and access to it? [Y/n] n
 ... skipping.

My system is ubuntu server 20.04.

Comments

  • k0dard
    k0dard Posts: 115

    Tried also on CentOS 8 VM, no test database either

  • lee42x
    lee42x Posts: 380

    Yes, the instructions specifically state to retain the test database. Do not delete it.

    Thank you for the input.

  • @k0dard mentioned that he didn't delete the test database and still got the Unknown database error.

    The same as me. I didn't delete it and have the exact same outputs as him. @lee42x

  • lee42x
    lee42x Posts: 380

    Thank you for the input, problem duplicated. The test database seems to be gone, updating the lab for the next release.

    Thank You, Lee

Categories

Upcoming Training