[Serusers] SERWEB and MySQL Connection ERROR Database error: pconnect(192.168.1.246, ser, $Password) failed.

RockV ser at rockv.com
Sun Jun 5 19:23:07 CEST 2005


Hi,
I am not an expert, but I think I have found a solution.
First, you should point serweb to your mysql database.
 
 
////////////////////////////////////////////////////////////////
                //            configure database
 
                /* these are the defaults with which SER installs; if you
changed
                   the SER account for MySQl, you need to update here
                */
 
                $this->db_host="127.0.0.1";             //database host
                $this->db_name="ser";                   //database name
                $this->db_user="ser";                   //database conection
user
                $this->db_pass="heslo";                 //database conection
password

In my case localhost but if I set localhost in $this->db_host it doesn't
work.
So, you must set IP Address...
 
Then, you should check if you can enter to MySQL with IP Address.
In my case:
mysql -h 127.0.0.1 -u ser -pheslo ser
 
Is not enough if you can enter with:
mysql -h localhost -u ser -pheslo ser
 
I think that will help.
 
RockV
 
 
>yup password error :-), can you connect to the db from the linux command 
>line
>
>mysql -h a.b.c.d -u username -ppassword ser
>
>do this from the machine serweb is hosted on.
>
>Also I would avoid serweb until you have ser up and running properly, 
>because serweb comes with its own little headaches :-)
>
>Iqbal
>
>Manoj Ghag wrote:
>
>> hi,
>> In case of MYSQL .. I am getting following ERROR when I try to open a 
>> SERWEB....
>>  
>>
>> *Warning*: mysql_pconnect(): Access denied for user: 'ser at test' (Using

>> password: YES) in */var/www/phplib/db_mysql.inc* on line *73*
>> *Database error:* pconnect(192.168.1.246, ser, $Password) failed.
>> *MySQL Error*: ()
>> Session halted.
>>  
>>  
>> ANY HELP ?
>>  
>>
>> ------------------------------------------------------------------------
>> Yahoo! Mail
>> Stay connected, organized, and protected. Take the tour 
>> <HYPERLINK
"http://tour.mail.yahoo.com/mailtour.html"http://tour.mail.yahoo.com/mailtou
r.html>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Serusers mailing list
>>Serusers at iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>  
>>
>
>
>
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050605/050b9eb4/attachment.htm>


More information about the sr-users mailing list