Clear all

Setup and MySQL error (RE: Installation)

5 Posts
4 Users
Posts: 0
New Member Guest

A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!


Can someone tell me what I did wrong so that I could correct it?

After I uploaded all my files for the latest version I was told the next step was to get a database/user/password. On the Settings Table Prefix I put "someone's name x table." Was that ok? When I entered it into the install box it gave me the error result.

I want to know how to install it so I don't get that error.

the people at godaddy (my host) said that it's a SQL issue. That I need to locate that file in the zip of the latest version. But it's nowhere in the zip folder. Can anyone help? Tell me where it is?

This is what it quoted to me when I tried to upload the zip:

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php
// ----------------------------------------------------------------------' at line 1

Posted : 31/03/2015 12:43 am
Posts: 92
Member Admin

Hi flarrow84,

I see your site it back up and running, and you managed to resolve the issue?

eFiction Archives: Tom Paris Dorm | Twice Bitten | Underground

Posted : 03/04/2015 10:42 pm
Posts: 60
Trusted Member

I would like to know as well, because I have the same issue. I am backing up my Websites (incl. Databases) to localhost. I probably need to update some config.php but are they more than one? Because I edited mine and it still gives me the error.

Also please note: when I clicked on the website link given, my anti virus made a scene and told me the website is dangerous and refused to let me open it.

Get your Arsch out of the couch." Gayle Tufts

Posted : 20/05/2017 10:46 am
Posts: 60
Trusted Member

I know it's old, what is written here. But I still have an issue.
I just tried to install 3.5.5 and get all kind of error messages.
I would like to attach a screenshot with the error, but when I click onto "Attachments and other options" I get only "other options".
Do you want to give up this project? I actually like efiction and would like to see you continue...

Get your Arsch out of the couch." Gayle Tufts

Posted : 27/06/2018 6:14 pm
Posts: 131
Estimable Member

The best thing is to start a new thread. Include all the information etc.

Your query might get lost here in a fossilized thread...

Posted : 27/06/2018 8:32 pm