Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-21 Thread Kuan Yik



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 valueis 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 
  To: Kuan Yik ; [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 
  
  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 ShahSystem 
  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 
To: Ahmad Masood Shah ; [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:"
#define MYSQL_READ_SERVER 
"localhost:"

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 
  To: Kuan Yik ; [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 ShahSystem 
  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 
To: [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


Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-21 Thread Ahmad Masood Shah



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

-- Best Regs,Masood Ahmad ShahSystem 
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 
  To: Ahmad Masood Shah ; [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 valueis 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 
To: Kuan Yik ; [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 

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 ShahSystem 
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 
  To: Ahmad Masood Shah ; [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:"
  #define MYSQL_READ_SERVER 
  "localhost:"
  
  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 
To: Kuan Yik ; [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 ShahSystem 
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 
  To: [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


Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread Ahmad Masood Shah




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 ShahSystem 
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 
  To: [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


Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread Kuan Yik



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:"
#define MYSQL_READ_SERVER 
"localhost:"

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 
  To: Kuan Yik ; [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 ShahSystem 
  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 
To: [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


Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread Ahmad Masood Shah



hmm have u changed /etc/service mysql 

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 ShahSystem 
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 
  To: Ahmad Masood Shah ; [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:"
  #define MYSQL_READ_SERVER 
  "localhost:"
  
  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 
To: Kuan Yik ; [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 ShahSystem 
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 
  To: [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


Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread Kuan Yik



Thanks to u first Ahmad.

I don't think I willchange the port number in 
the /etc/service. Because, sometime I need to configure mysql running on a 
system with two different port for two different usage/user. So, like PHP and 
Perl, the parameter will be define as localhost:/usr/local/mysql.sock or 
something like "localhost:"

Sorry for my poor explanation and hope that you can 
understand wat I need.

  - Original Message - 
  From: 
  Ahmad Masood 
  Shah 
  To: Kuan Yik ; [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 
  
  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 ShahSystem 
  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 
To: Ahmad Masood Shah ; [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:"
#define MYSQL_READ_SERVER 
"localhost:"

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 
  To: Kuan Yik ; [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 ShahSystem 
  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 
To: [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


[vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread GoodnGo.de \(R\) Zentrale
Hello Ahmad, hello all,

after Installing mysql with vpopmail. Then when I started the mysql
daemon.. The I trief to log in to my mysql database and got the
message could not find mysql.sock in /tmp.

In the mysql-configuration file /etc/my.cnf  (in my redhat system) I
changed the place for the socket file from
socket=/var/lib/mysql/mysql.sock to socket=/tmp/mysql.sock.
That doesn´t work.

What can I do? Perhaps put a link ln -s /var/lib/mysql/mysql.sock
/tmp/mysql.sock in /tmp

Oliver



hmm have u changed /etc/service mysql 
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
  To: Ahmad Masood Shah ; [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:
  #define MYSQL_READ_SERVER   localhost:

  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
To: Kuan Yik ; [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
  To: [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




Re: [vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-11 Thread Ahmad Masood Shah
hmmm this is the problem regarding mysql not vpopmail...
anyhow if you have changed /etc/my.cnf then it should work. I will suggest
better to check your permissions on folder where mysql want to create
socket... it should be owner by user that is running mysql
also kill all mysql process and start it again...

-- 

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: GoodnGo.de (R) Zentrale [EMAIL PROTECTED]
To: Ahmad Masood Shah [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 11, 2003 3:20 PM
Subject: [vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host
in vmysql.h how-to?


| Hello Ahmad, hello all,
|
| after Installing mysql with vpopmail. Then when I started the mysql
| daemon.. The I trief to log in to my mysql database and got the
| message could not find mysql.sock in /tmp.
|
| In the mysql-configuration file /etc/my.cnf  (in my redhat system) I
| changed the place for the socket file from
| socket=/var/lib/mysql/mysql.sock to socket=/tmp/mysql.sock.
| That doesn´t work.
|
| What can I do? Perhaps put a link ln -s /var/lib/mysql/mysql.sock
| /tmp/mysql.sock in /tmp
|
| Oliver
|
|
|
| hmm have u changed /etc/service mysql 
| 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
|   To: Ahmad Masood Shah ; [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:
|   #define MYSQL_READ_SERVER   localhost:
|
|   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
| To: Kuan Yik ; [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
|   To: [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
|
|
|
|




[vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?

2003-07-10 Thread Kuan Yik




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