Message: mysqli::real_connect(): (HY000/2002): Connection refused

1,932 views
Skip to first unread message

Ilias Georgousis

unread,
Sep 5, 2018, 10:22:38 AM9/5/18
to jorani
Hello,

I cannot connect to the database.

Can you please assist?

Attached is the error and the requirments. 

user/credentials are okay.

Thank you



Capture-1.PNG
Jorani Requirements.pdf

Rana Ghosh dastidar

unread,
Sep 6, 2018, 1:01:16 AM9/6/18
to jor...@googlegroups.com
Have u configure database config file ?

--
You received this message because you are subscribed to the Google Groups "jorani" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jorani+un...@googlegroups.com.
To post to this group, send email to jor...@googlegroups.com.
Visit this group at https://groups.google.com/group/jorani.
To view this discussion on the web visit https://groups.google.com/d/msgid/jorani/2ddef17b-45b2-48cf-8e60-6ed5ac591278%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ilias Georgousis

unread,
Sep 6, 2018, 2:51:29 AM9/6/18
to jorani
Thank you for your answer,

yes I have, please see attached,

is there something I am missing or doing wrong?
Capture.PNG

Rana Ghosh dastidar

unread,
Sep 6, 2018, 4:14:24 AM9/6/18
to jor...@googlegroups.com
you have not enter root password in database config file, 



Ilias Georgousis

unread,
Sep 6, 2018, 4:25:32 AM9/6/18
to jorani
I have tried with the password and blank after I changed it,

could it be something blocking the connection?

or another app blocking the port?

It is a synology NAS station.

Ilias Georgousis

unread,
Sep 6, 2018, 8:41:25 AM9/6/18
to jorani
My Database server is 

MariaDB 10 (Localhost via UNIX socket)

maybe needs some different configuration?

Ilias Georgousis

unread,
Sep 6, 2018, 9:43:12 AM9/6/18
to jorani
Issue is fixed, it was a username problem.
Reply all
Reply to author
Forward
0 new messages