After Reinstallation, the MySQL Database for Root is Missing

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 重装后root缺失mysql库

| username: cf_data

[Test Environment for TiDB]
After uninstalling the previous version 7.4.0 and reinstalling 7.5.0, it started successfully. When connecting with the root user, I found that the MySQL database is indeed missing. Can anyone provide an answer?

| username: chenhanneu | Original post link

Directly use the command mysql to log in and check, it might be that the tool is not displaying it.

| username: dba远航 | Original post link

Confirm the current ROOT user’s permissions.

| username: cf_data | Original post link

All privileges

| username: 像风一样的男子 | Original post link

Is there nothing when you go into the command line and run show databases?

| username: tidb菜鸟一只 | Original post link

Directly use the MySQL client to log in and check.

| username: Miracle | Original post link

Is it an issue with the tool’s filtering display?
You can log in using the MySQL client and confirm by running show databases.

| username: cf_data | Original post link

The command line can display.

| username: cf_data | Original post link

Yes, there are.

| username: Jolyne | Original post link

It might be a tool issue. Generally, if you go into the command line and use “show database” and it appears, then there shouldn’t be a problem.

| username: 像风一样的男子 | Original post link

Try using something like Navicat instead.

| username: forever | Original post link

Can you directly check the MySQL table to see the error?

| username: 春风十里 | Original post link

What tool are you using? First of all, the MySQL database won’t be missing; otherwise, the data wouldn’t be able to run normally. It could be a permissions issue, but it’s more likely a tool display issue. For example, in my 7.5 test environment, when I connect using Navicat, it shows up, but when I use MySQL Workbench, the MySQL database doesn’t show up.

| username: Kongdom | Original post link

It should be a tool issue, try using a different tool.

| username: TiDBer_08RNElU3 | Original post link

Tool or permission issue

| username: zhanggame1 | Original post link

Tool display issue

| username: 随缘天空 | Original post link

It should be an issue with your database client display. MySQL is a system database that contains some user privilege tables and metadata. Without this database, you cannot access the cluster.

| username: andone | Original post link

I am using SQLyog, and it feels okay.

| username: TiDBer_lBAxWjWQ | Original post link

This is obviously a tool issue.

| username: dba远航 | Original post link

Check the tool’s settings to see if it has been filtered out.