Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7408567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:56:21+00:00 2026-05-29T05:56:21+00:00

I have two Debian boxes: used apt-get to install mysql-server mysql-client phpmyadmin used apt-get

  • 0

I have two Debian boxes:

  1. used apt-get to install mysql-server mysql-client phpmyadmin
  2. used apt-get to install apache2 apache2-mod-php5

I’m trying to connect to the MySQL server using the Apache box but I get this error from PHP:

Lost connection to MySQL server at ‘reading initial communication packet’, system error: 113

I can connect up to MySQL fine using a Windows-based client on the same network. This makes me wonder about how the Apache2/PHP is setup.

Additional reading about error 113 makes me wonder about hostnames and such. my.cnf on MySQL box is set to bind-address = 192.168.1.202, and PHP is trying to connect to 192.168.1.202.

Any and all help greatly appreciated! I’m not an evil genius by a long shot and this is my first time trying to use solely aptitude to set this up. I bet it’s something silly I forgot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:56:21+00:00Added an answer on May 29, 2026 at 5:56 am

    I’m using Ubuntu 11.04

    I logged in as root and ran

    cd /etc/mysql
    nano my.cnf
    

    Then I found bind-address = 127.0.0.1 and added a # before it so it’s looks like #bind-address = 127.0.0.1

    Than I ran /etc/init.d/mysql restart to restart MySQL. Then it started working.

    Hope this helps. I know Debian and Ubuntu are about the same when doing stuff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to install Debian on our new dedicated server and I have
I have a Debian Linux server with two eSATA drives attached to it (NTFS,
I have two debian boxes connected by a CX4 cable going between two 10
I have a server (Linux, Debian) and my client (Windows). Currently I just copy
I have two unix partitions under debian which I would like to merge (disk
We have two challenges deploying our application for Ubuntu/Debian: 1. Offline installation Many (let's
I have two debian servers located on the same subnet. They are connected by
I have two sets of vertexes used as a line strip: Vertexes1 Vertexes2 It's
I have two servers running on redhat and debian. I am using a perl
I have to set up a new mysql replication replicating two databases. So I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.