忘了怎么搞的了,mysql的图形化工具怎么也连不上,重装也不行,经过多方查询,终于找到了解决办法,改下mysqlx_user_connections.xml就好了,内容如下:
<?xml version="1.0"?>
<user_connections>
<last_connection>0</last_connection>
<password_storage_type>2</password_storage_type>
<user_connection>
<connection_name>NewConnection</connection_name>
<username>root</username>
<hostname>127.0.0.1</hostname>
<port>3306</port>
<schema>test</schema>
<advanced_options/>
<storage_path></storage_path>
<notes></notes>
<connection_type>0</connection_type>
<storage_type>1</storage_type>
<password_storage_type>2</password_storage_type>
<password>root</password>
</user_connection>
</user_connections>
如果没有,可以自己创建一个,参数根据自己的实际情况修改