Unknown MySQL server host at godaddy

Web Technologies Web Development 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating
_x000D_ _x000D_ Hy there! I am using linux based hosting from godaddy. My domain is registered at somewhere else. Now i need to change hosting of my website. 1) i changed the nameservers field at the domain registered site and added the godaddy nameservers. 2) I upload my website on godaddy in public_html folder. 3) I created a new username and database and uploaded my database there. When i tried to check my domain it's giving strange error "Unknown MySQL server host 'db2' (2)" After a long time, i am posting my problem here. If anybody knows that what and where is something wrong then do share your ideas. Also if anybosy knows that how to check the mysql server host information at linux based hosting of godadddy then also share it with me. Advance thanks! My initial lines of exported database files are -- phpMyAdmin SQL Dump -- version 4.0.10.3 -- http://www.phpmyadmin.net -- -- Host: db2 -- Generation Time: Jul 01, 2016 at 11:22 AM -- Server version: 5.1.73 -- PHP Version: 5.4.34 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!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 */; -- -- Database: `arikai2_2` -- -- -------------------------------------------------------- -- -- Table structure for table `` -- db.php

Posted on 16 Aug 2022, this text provides information on Web Development related to Web Technologies. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago
_x000D_ You need to make sure the values of Hostname is correct, check the database details you will see a field that says hostname and make sure you use it.

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Important Web Technologies Links