[Serusers] login to remost mysql server

Klaus Darilion klaus.mailinglists at pernau.at
Tue Mar 23 18:16:27 CET 2004


wrong syntax: use mysql:// instead of sql://

klaus

Raymond Chen wrote:

> Thanks,  but with 
> modparam("usrloc", "db_url", "sql://ser:heslo@192.168.1.5/ser")
> 
> got another error message 
> 
> new_connection(): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> 
> I am using mysql-4.0.18 and ser cvs.  I can use mysql client to login
> 
> Raymond
> 
> -----Original Message-----
> From: Bogdan-Andrei IANCU [mailto:iancu at fokus.fraunhofer.de] 
> Sent: Wednesday, March 24, 2004 12:07 AM
> To: Raymond Chen
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] login to remost mysql server
> 
> Raymond, try to use "mysql://....."
> 
> Bogdan
> 
> Raymond Chen wrote:
> 
> 
>>Dear all,
>>
>>We have encountered a problem when we try to use a remote mysql server
>>instead of localhost server.
>>
>>Ser.cfg
>>
>>modparam("usrloc", "db_url", "sql://ser:>heslo>@192.168.1.5/ser")
>>
>>stdout:
>>
>>mod_init(): Can't bind database module
>>
>>We configure followed everything in admin document and database work
>>locally. Does anyone has any idea?
>>
>>Regards
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>> 
>>
> 
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 




More information about the sr-users mailing list