• March 25, 2018, 05:21:54 am
• Welcome, Guest. Please login or register.
News: Posting problems?
If for some reasons you can not create your own topics, please see the problem thread in the "Site news & updates" board.

Author Topic: Setup and MySQL error (RE: Installation)  (Read 1556 times)


  • Newbie
  • *
  • Posts: 1
  • Country: us
Setup and MySQL error (RE: Installation)
« on: March 31, 2015, 04:43:50 am »
A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!

Website: http://theflasharrowfanfiction.com/

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


  • Administrator
  • Member
  • *****
  • Posts: 89
  • Country: 00
  • Thanked: 2 times
    • retrogression.org
Re: Setup and MySQL error (RE: Installation)
« Reply #1 on: April 04, 2015, 02:42:41 am »
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


  • Member
  • **
  • Posts: 50
  • Country: scotland
    • K/S-Shipping Community
Re: Setup and MySQL error (RE: Installation)
« Reply #2 on: May 20, 2017, 02:46:20 pm »
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