MySQL Error for website menu

User Tag List

Results 1 to 1 of 1
  1. #1
    iterrorist's Avatar Banned
    Reputation
    90
    Join Date
    Dec 2007
    Posts
    210
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySQL Error for website

    Error: Unable to connect to MySQL server. MySQL reported: Lost connection to MySQL server at 'reading initial communication packet', system error: 113.



    I get that when I try to create accounts through my webpage? What am I doing wrong here?


    My set up is this


    My Dedicated Server -> MySQL with character + world DB


    My Website Hosting Service -> Website with account creation.


    Code:
    <?php
    
    $lang="en";            // Language ("en" - english, "ru" - russian)
    $title="Maximum Warcraft|Irish Private Server";        // Insert the title of your server here
    $host="94.**censored**.158.154";        // HOST for Character+logon database
    $user="root";            // USER for Character+logon database
    $password="**censored**";        // PASS for Character+logon database
    $db="character";            // NAME of Character+ logon database
    $hostr="94.**censored**.158.154";        // HOST for Logonserver+characters database
    $userr="root";            // USER for Logonserver database[same as character]
    $passwordr="**censored**";        // PASS for Logonserver+char database
    $dbr="character";            // NAME of logon+char database
    $database_encoding = 'CP1251';     // Set encoding
    $img_base = "img/";        // Image dir
    $server = "94.**censored**.158.154";    // ArcEMU server addres (the realmlist)
    $port = "8129";            // ArcEMU Server Port
    $lock_acc=0;            // Lock created account to IP address (1 - on, 0 - off)
    $lock_reg=3;            // Registration only one (or more) account from one IP address
                    // 0 - not limit, 1 - one acc,  2 - two acc, etc...
    Last edited by iterrorist; 04-06-2009 at 01:31 PM.

    MySQL Error for website

Similar Threads

  1. how to fix your mysql when it buges beyond no repair this covers all errors for mysql
    By project anthrax in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 07-15-2008, 11:55 PM
  2. Mysql errors for howling repack( very detailed)
    By snowbird in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 07-11-2008, 08:06 PM
  3. Replies: 2
    Last Post: 11-14-2007, 08:20 PM
  4. Looking for website designer
    By Denelly in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 11-02-2007, 09:42 PM
  5. Mysql error & Phpmyadmin
    By msnad9833 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 10-02-2007, 08:17 PM
All times are GMT -5. The time now is 03:54 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search