求助 Failed to connect to mysql server using user "seafile" and password "***": Access denied for user 'seafile'@'localhost' (using password: YES)

创建 数据库报错
[root@ykun opt]# cd seafile-pro-server-6.2.9

[root@ykun seafile-pro-server-6.2.9]# ./setup-seafile-mysql.sh

Checking python on this machine …

Checking python module: setuptools … Done.

Checking python module: python-imaging … Done.

Checking python module: python-mysqldb … Done.

Checking for java …Done.


This script will guide you to setup your seafile server using MySQL.

Make sure you have read seafile server manual at

https://github.com/haiwen/seafile/wiki

Press ENTER to continue


What is the name of the server? It will be displayed on the client.

3 - 15 letters or digits

[ server name ] ykun

What is the ip or domain of the server?

For example: www.mycompany.com, 192.168.1.101

[ This server’s ip or domain ] 192.168.107.128

Where do you want to put your seafile data?

Please use a volume with enough free space

[ default “/opt/seafile-data” ]

Which port do you want to use for the seafile fileserver?

[ default “8082” ]


Please choose a way to initialize seafile databases:


[1] Create new ccnet/seafile/seahub databases

[2] Use existing ccnet/seafile/seahub databases

[ 1 or 2 ] 1

What is the host of mysql server?

[ default “localhost” ]

What is the port of mysql server?

[ default “3306” ]

What is the password of the mysql root user?

[ root password ]

verifying password of user root … done

Enter the name for mysql user of seafile. It would be created if not exists.

[ default “seafile” ]

Enter the password for mysql user “seafile”:

[ password for seafile ]

verifying password of user seafile …

Failed to connect to mysql server using user “seafile” and password “***”: Access denied for user ‘seafile’@‘localhost’ (using password: YES)

Enter the name for mysql user of seafile. It would be created if not exists.

[ default “seafile” ]

有人吗,我也遇到了,好难受