Problem connecting to db

Having trouble installing serendipity?
Post Reply
PeterFox
Regular
Posts: 5
Joined: Tue Jul 07, 2020 11:09 am
Location: Germany / UK

Problem connecting to db

Post by PeterFox » Tue Jul 07, 2020 11:31 am

Hi Everyone,
just getting back into doing web stuff again and don't want to use mega serious overkill for a modest website (e.g. wordpress) so happily came back to the one and only S9Y :D
But having problems installing / connecting to MySQL database ("The mySQL error was: No connection could be made because the target machine actively refused it."):

- local setup: WAMPServer 3.2.0
- MYSQLi
- wordpress, for example, works fine with this setup
- don't think it's password problems (tried with root and others)
- only recommendation in pre-diagnosis is imagemagick not found, otherwise everything ok.

I don't want to use another database as this setup is a reflection of what will be on the live hosted package.

Any pointers would be very welcome....
Pete
Pete

User avatar
onli
Regular
Posts: 2463
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Problem connecting to db

Post by onli » Tue Jul 07, 2020 12:00 pm

If all the connection data are correct that sounds like a setup specific issue. Sadly I'm not familiar with WAMP (in general linux is used for hosting s9y). https://stackoverflow.com/questions/177 ... sed-it-php points to a lock file that might have to be removed or a restart of the apache/mysql service? It might also be an incorrect port.

There also seems to be a logfile that might contain more information.

PeterFox
Regular
Posts: 5
Joined: Tue Jul 07, 2020 11:09 am
Location: Germany / UK

Re: Problem connecting to db

Post by PeterFox » Tue Jul 07, 2020 7:54 pm

Thanks Onli for the lightning response 8) very nice.
I poked around rather a lot - somewhat frustrating - seemed to have got a bit further by specifying localhost:3308 in setup form. MySQL logs are sporadic on my setup so only helped sometimes :wink:
Now relative links don't seem to work on my setup - but that's for tomorrow.
Pete

PeterFox
Regular
Posts: 5
Joined: Tue Jul 07, 2020 11:09 am
Location: Germany / UK

Re: Problem connecting to db

Post by PeterFox » Wed Jul 08, 2020 11:35 am

Lovely. Seems to function wonderfully. Now I can start :D
Pete

User avatar
onli
Regular
Posts: 2463
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Problem connecting to db

Post by onli » Wed Jul 08, 2020 1:22 pm

Great. Have fun! :)

Post Reply