Try to install: Failed to connect to mysql server using user "root"....

602 views
Skip to first unread message

Marcus Redmann

unread,
May 12, 2014, 5:06:16 PM5/12/14
to sea...@googlegroups.com
Hello,

Sorry my english is not so good.
I try to install seafile 3.0.3 on my debian 6 vps. My Python install is by version 2.6.6. I have use the official doc from the seafile homepage (https://github.com/haiwen/seafile/wiki/Download-and-Setup-Seafile-Server-with-MySQL).
In the attached pic you will see my problem. For solutioni have tried the post from here: https://groups.google.com/forum/#!topic/seafile/s1eA3EO9rPc.
But dosn't helps me.
Can someone help me pleace?

greating Marcus
Error.jpg

Impiastro

unread,
May 13, 2014, 2:19:46 AM5/13/14
to sea...@googlegroups.com
You are doing a Seafile installation to MySQL database.
The installer is asking you the mysql root user password, the given one seems wrong.

Check your mysql infos before installing and trying to connect using the mysql command before proceeding.

Marcus Redmann

unread,
May 13, 2014, 9:52:52 AM5/13/14
to sea...@googlegroups.com
Hello and thx for the answer.

MySQL Server runs perfectly in many other installations and i can connect to mysql as root in bash command line. But only in seafile install script dosn't work.
You have any idea why i can't connect to the server from their?

Impiastro

unread,
May 13, 2014, 10:13:51 AM5/13/14
to sea...@googlegroups.com
Are you installing Seafile in the same machine where the mysql server is?
MySQL can deny login from ip different from localhost, it depends from the GRANT given to the user.

Have you followed this installation guide for MySQL?
https://github.com/haiwen/seafile/wiki/Download-and-Setup-Seafile-Server-with-MySQL

ROb

Marcus Redmann

unread,
May 13, 2014, 1:37:27 PM5/13/14
to sea...@googlegroups.com
Yes it's the same machine where i want to install seafile.
I use MySQL on this server for many php applications and i never have this problems before as right now.
The magic is, i can connect to my mysql server from every where i want and the root user have global all rights. Only through this script is no way.
I can't see whats wrong.

Marcus Redmann

unread,
May 13, 2014, 1:45:56 PM5/13/14
to sea...@googlegroups.com
Oh, and yes i have use this install documentation.
And their is one thing more. I have tried to login with python commands to mysql server as a normal linux user. And this works.

Shuai Lin

unread,
May 13, 2014, 11:03:42 PM5/13/14
to sea...@googlegroups.com
Have you enabled the tcp listening of your mysql server? The script need to connect to your mysql server using 127.0.0.1:3306.


--
You received this message because you are subscribed to the Google Groups "seafile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/d/optout.

Marcus Redmann

unread,
May 14, 2014, 2:32:38 AM5/14/14
to sea...@googlegroups.com
Thanks so lot. My misstake was i have bind mysql to my static ip.

thanks for hint.

Impiastro

unread,
May 14, 2014, 2:34:07 AM5/14/14
to sea...@googlegroups.com
Nice to hear from you!
Reply all
Reply to author
Forward
0 new messages