Author Topic: SQL database is showing up as unknown, throwing critical error  (Read 3115 times)

Offline robotprom

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
SQL database is showing up as unknown, throwing critical error
« on: January 08, 2017, 10:06:46 PM »
My site is redirecting to static_pages/index.php, and my log is full of these errors:

2017-01-09 2:21:34 - warning:  AbanteCart core v.1.2.5 mysqli::mysqli(): (HY000/1049): Unknown database 'blackc33_aban617' in <b>/home/blackc33/public_html/store/core/database/amysqli.php</b> on line <b>46</b>
2017-01-09 2:21:34 - database error:  AbanteCart core v.1.2.5 Error: Could not make a database connection to database blackc33_aban617 using blackc33_aban617@localhost in <b>/home/blackc33/public_html/store/core/database/amysqli.php</b> on line <b>48</b>

I've checked my web hosting company, and the specified SQL database is present and not showing any errors, although it's size is 0.0MB, which seems odd.

I'm guessing the error means it's cant connect to the database, but I'm not what else to check to see where the problem lies.

thanks!

Offline robotprom

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: SQL database is showing up as unknown, throwing critical error
« Reply #1 on: January 08, 2017, 10:33:49 PM »
the SQL database only has this:

mysqldump: Got error: 1049: Unknown database 'blackc33_aban617' when selecting the database
-- MySQL dump 10.13  Distrib 5.6.33, for Linux (x86_64)
--
-- Host: localhost    Database: blackc33_aban617
-- ------------------------------------------------------
-- Server version   5.6.33-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL database is showing up as unknown, throwing critical error
« Reply #2 on: January 09, 2017, 04:24:33 AM »
please contact your hosting company techsupport regarding this.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod