Can't install in my new domain, please help

Hi! Friends!

I am quite new to this software but I really love this.
Recently, we decided to use this but when we bought a domain name and a hosting plan, i tried to install and it kept denying and the massage is like this:

A database error has occurred: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

Can anybody explain me and guide me how to solve the above problem?

Thanks,

Marcus

Hi @Marcus,

Your hosting plan may not include a MySQL database, or it may not be in the expected location. Confirm with your host what the details of your MySQL database are.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Asmecher!

Thank you very much for your comments and sorry for my late reply.

There are 10 databases available.
if anyone of you can help me, i would be very much happy.

Thanks,

Hi @Marcus

Check your config.inc.php if you are using localhost or 127.0.0.1 as database URL.
Alternate between both to verify if connection works (localhost is socket connector but 127.0.0.1 is a TCP/IP connector, so just test it :smiley: )

Best

Hi @Israel.cefrin
Thank you very much. It now works but another problem begins again. What is the path when we create the first journal?

@Marcus

By default the path is:
http://www.yourdomain.com/index.php/ slug-name-of-journal /

This slug name you had customized when creating the journal.

Best

Israel

@israel Thank you very much for always supporting me.

1 Like