Jump to content

Can't connect to MySQL server on '192.168.0.4' (10061)


DataRater

Recommended Posts

I have MySQL ver 14.12 installed on a Dell Inspiron Ubuntu laptop and i am trying to access MySQL from my Windows laptop which are all on my home network.

 

To do the access i am using SQLyog version v6.56. I have the connect set to

192.168.0.4

stephen

<password>

3306

no databases selected s:qq:q

o expect access to all.

 

When I query the mysql.user table I get

mysql> select host, user from user;

+--------------+------------------+

| host        | user            |

+--------------+------------------+

| %            | stephen          |

| 127.0.0.1    | root            |

| dell-desktop | root            |

| localhost    | debian-sys-maint |

| localhost    | root            |

+--------------+------------------+

5 rows in set (0.00 sec)

 

I suspect MySQL is not listening on port 3306 but don't know how to prove it.

 

Please help.

 

Steve

Link to comment
Share on other sites

In my.cnf there is a line which says

 

# Instead of skip-networking the default is now to listen only on

# localhost which is more compatible and is not less secure.

bind-address = 127.0.0.1

 

and I need this to also point at my Windows laptop on 192.168.0.2

 

Have you any idea how to do that? Do I need both IP addreses or just one?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.