If you are running Linux, you can drop the my.cnf file into: /etc/my.cnf
If you installed from source, you should already have a my.cnf file on the
machine, but it probably is not located where it is being used by the dbase
server. If you installed from source check here:
/usr/local/mysql/share/mysql/
You should have some files in there such as: my-huge.cnf, my-large.cnf,
my-medium.cnf and my-small.cnf.
Take a look at those. You can modify one, rename it to my.cnf and drop it in
/etc/.
-- Jason
On 7/27/01 10:09 AM, Michael Lin was heard saying:
>
> Thanks, Jason.
>
> Another question, where is the my.cnf stored? I don't have this config file
> under my MySQL dir. Do I need to create one or ...?
>
> Thanks,
> Michael
>
>
>> From: Jason Burfield <[EMAIL PROTECTED]>
>> To: Michael Lin <[EMAIL PROTECTED]>
>> CC: <[EMAIL PROTECTED]>
>> Subject: Re: disable the mysql port
>> Date: Fri, 27 Jul 2001 09:21:03 -0400
>>
>> You can add : skip-networking : to your my.cnf file. You will only be able
>> to connect to the database server from localhost then.
>>
>> -- Jason
>>
>> On 7/26/01 5:21 PM, Michael Lin was heard saying:
>>
>>> Hi,
>>>
>>> Does anyone know how to disable mysql listening port?
>>>
>>> Thanks,
>>> Michael Lin
>>>
>>> _________________________________________________________________
>>> Get your FREE download of MSN Explorer at
>> http://explorer.msn.com/intl.asp
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Before posting, please check:
>>> http://www.mysql.com/manual.php (the manual)
>>> http://lists.mysql.com/ (the list archive)
>>>
>>> To request this thread, e-mail <[EMAIL PROTECTED]>
>>> To unsubscribe, e-mail
>> <[EMAIL PROTECTED]>
>>> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>>>
>>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php