[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: mysql on debian



In this file:
 /etc/mysql/my.cnf

And you need to comment out this:
#skip-networking

All good.

Thx for your help Alex   :)

--
Ross.


-----Original Message-----
From: Alex Malinovich [mailto:demonbane@the-love-shack.net]
Sent: Tuesday, 15 July 2003 4:24 PM
To: debian-user@lists.debian.org
Subject: Re: mysql on debian


On Tue, 2003-07-15 at 00:51, Ross Tsolakidis wrote:
> Hi all,
> 
> I run the mysql-server package on a debian box and webserver.
> Default installation, I've hardly changed anything except the root password  ;)
> 
> All websites on there have no problems connecting to the database locally.
> 
> If I create a database and user locally for another website that's located on another box in the same DMZ, they cannot connect.
> ERROR 2003: Can't connect to MySQL server on .................
> 
> There are no firewalls/routers in the way.  They are on the same switch.
> 
> I've tried changing the user itself to allow any host, or that particular host, still no go.
> I've tested the username password a few hundred times locally, and it works fine.
> 
> Does the default install in Debian not allow external queries ?
> Or have I missed something ?

The default setup for mysql does not allow outside connections. It comes
up as a debconf prompt, but I think it's set to low or thereabouts so it
might not come up always. I don't remember the exact filename, but I
believe it's mysql.conf. There's a line in there that either needs to be
commented or uncommented to enable external connections. Just look
through it and you should find it no problem. My server is down at the
moment so I can't give you more precise directions.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

==============================
This email is from PowerServe Australia Pty Limited (A.C.N. 102 661 441)
The information contained in this email (including any attached files) may be privileged and confidential intended for the use of the person/persons named above. If you are not the intended recipient, you are advised that any use, distribution or copying of the information is strictly prohibited. If you have received this transmission in error, please notify PowerServe Australia Pty Limited immediately on (61 3) 9618 1222 or reply by email to the sender.

PowerServe Australia Pty Limited does not represent or warrant that this email or any attached files are free from computer viruses or other defects. Any attached files are provided, and may only be used, on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from use of the attached files. In any event, the liability of PowerServe Australia Pty Limited is limited to either the resupply of the attached files or the cost of having the attached files resupplied.
==============================



Reply to: