2
• January 16, 2018, 08:40:32 am
• Welcome, Guest. Please login or register.
 
News: It's been a while since we started working on eFiction 5, there's been a lot of starting from scratch and half-scratch, but things are moving on.
Now we need you: please visit the eFicition 5 section of the forum and raise your voice, shape the new face of your favourite fanfiction management software.

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

flarrow84

  • Newbie
  • *
  • Posts: 1
  • Country: us
Setup and MySQL error (RE: Installation)
« on: March 31, 2015, 04:43:50 am »
Quote
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:

Quote
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

banshee

  • 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

ShiKahr

  • 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.
KS-Shipping-Community
Get your Arsch out of the couch." Gayle Tufts