Help Center/ GaussDB(for MySQL)/ Troubleshooting/ Connection Issues/ Failed to Connect to a Database as User root
Updated on 2023-10-19 GMT+08:00

Failed to Connect to a Database as User root

Scenario

A database failed to be connected using the root account.

Possible Causes

  1. View the kernel error.log to check whether any connection denial records exist.
  2. Check the root permissions. There are two root accounts. One of them is allowed to access only hosts whose IP addresses start with 192.

Solution

Contact technical support to delete the extra root account.