Of course, this is all documented in README.mysql...


Ahmad Masood Shah wrote:


Hi Kuan,
Thanks for your kind of information.
any how where are you from. and What type of enviornment you have.
I'm working with an ISP www.fibre.net.pk <http://www.fibre.net.pk>


--
Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| * * * * * * * * * * * * * * * * * * * * * * * *
| Fibre Net (Pvt) Ltd. Lahore, Pakistan
| Tel: +92-42-6677024
| Mobile: +92-300-4277367
| http://www.fibre.net.pk
| * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)


    ----- Original Message -----
    From: Kuan Yik <mailto:[EMAIL PROTECTED]>
    To: Ahmad Masood Shah <mailto:[EMAIL PROTECTED]> ;
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    Sent: Tuesday, July 22, 2003 8:23 AM
    Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host
    in vmysql.h how-to?

Hi Ahmad,
I have found out how to define the different port number for the
mysql. We can actually define the mysql port number in the
vmysql.h file under the
/* defaults - no need to change */
#define MYSQL_VPORT 0
Default value is 0 and you can define to the differnet port number
if you wish.
Thank you for your help anyway.


        ----- Original Message -----
        From: Ahmad Masood Shah <mailto:[EMAIL PROTECTED]>
        To: Kuan Yik <mailto:[EMAIL PROTECTED]> ;
        [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
        Sent: Friday, July 11, 2003 3:21 PM
        Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql
        host in vmysql.h how-to?

        hmm have u changed /etc/service mysql 3333
        it can be handy ... me is kinda busy let me find where you can
        put port in vmyslq.h or you will have to change some code in
        this file...give me time I will do for u...

-- Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| * * * * * * * * * * * * * * * * * * * * * * * *
| Fibre Net (Pvt) Ltd. Lahore, Pakistan
| Tel: +92-42-6677024
| Mobile: +92-300-4277367
| http://www.fibre.net.pk
| * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the
simplicity.
(Dennis Ritchie)


            ----- Original Message -----
            From: Kuan Yik <mailto:[EMAIL PROTECTED]>
            To: Ahmad Masood Shah <mailto:[EMAIL PROTECTED]> ;
            [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
            Sent: Friday, July 11, 2003 11:42 AM
            Subject: Re: [vchkpw] vpopmail + mysql : Define other
            mysql host in vmysql.h how-to?

Hi Ahmad, thanks for your reply, but what if I want to
define different port number or sock file?
It is not working if I define like
#define MYSQL_UPDATE_SERVER "localhost:3333"
#define MYSQL_READ_SERVER "localhost:3333"
OR
#define MYSQL_UPDATE_SERVER "/usr/local/mysq/mysql.sock"
#define MYSQL_READ_SERVER "/usr/local/mysql/mysql.sock"
Any idea how ?
thanks


                ----- Original Message -----
                From: Ahmad Masood Shah <mailto:[EMAIL PROTECTED]>
                To: Kuan Yik <mailto:[EMAIL PROTECTED]> ;
                [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
                Sent: Friday, July 11, 2003 2:25 PM
                Subject: Re: [vchkpw] vpopmail + mysql : Define other
                mysql host in vmysql.h how-to?

simple is that open you command prompt
vi vmysql.h
you will find 2 lines like shown below...
#define MYSQL_UPDATE_SERVER "localhost"
#define MYSQL_READ_SERVER "localhost"
and blah balh


-- Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| * * * * * * * * * * * * * * * * * * * * * * * *
| Fibre Net (Pvt) Ltd. Lahore, Pakistan
| Tel: +92-42-6677024
| Mobile: +92-300-4277367
| http://www.fibre.net.pk
| * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to
understand the simplicity.
(Dennis Ritchie)


                    ----- Original Message -----
                    From: Kuan Yik <mailto:[EMAIL PROTECTED]>
                    To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
                    Sent: Friday, July 11, 2003 6:16 AM
                    Subject: [vchkpw] vpopmail + mysql : Define other
                    mysql host in vmysql.h how-to?

Hi guys, anyone of you have any idea how to defind
the parameter of mysql host in vmysql.h file if I
want to point it to different port and host
instead of "localhost".
Please advise and thank you very much.
Regards,
Max



-- Aj. Systems Administrator / Developer





Reply via email to