List Info

Thread: DB problems




DB problems
user name
2006-06-03 01:48:01
On Sat, 2006-06-03 at 00:08 +0000, "Gary V" 
wrote:
> Worth a try. Exactly what error message(s) are you
getting?

PEAR:B 
FAILED: Could not connect to database.  Check the 
mysql://maia:passwordtcp(localhost:3306)/maia setting in
config.php

(password is not really the password 

The line in question is:

$maia_sql_dsn = "mysql://maia:passwordtcp(localhost:3306)/maia";

I've changed localhost to 127.0.0.1 and the actual IP
address of the
machine to see if there was just something up with name
resolution,
etc.  

Danita


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
DB problems
user name
2006-06-03 04:19:45
>On Sat, 2006-06-03 at 00:08 +0000, "Gary V" 
wrote:
> > Worth a try. Exactly what error message(s) are you
getting?
>
>PEAR:B 
FAILED: Could not connect to database.  Check the
>mysql://maia:passwordtcp(localhost:3306)/maia
setting in config.php
>
>(password is not really the password 
>
>The line in question is:
>
>$maia_sql_dsn = "mysql://maia:passwordtcp(localhost:3306)/maia";
>
>I've changed localhost to 127.0.0.1 and the actual IP
address of the
>machine to see if there was just something up with name
resolution,
>etc.
>
>Danita
>

Is MySql listening on 3306?

lsof -P | grep LISTEN
(or maybe)
ps aux | grep 3306

____________________________________________________________
_____
Express yourself instantly with MSN Messenger! Download
today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471
ave/direct/01/

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
DB problems
user name
2006-06-03 04:53:14

Gary V wrote:
>> On Sat, 2006-06-03 at 00:08 +0000, "Gary
V"  wrote:
>>> Worth a try. Exactly what error message(s) are
you getting?
>> PEAR:B 
FAILED: Could not connect to database.  Check the
>> mysql://maia:passwordtcp(localhost:3306)/maia
setting in config.php
>>
>> (password is not really the password 
>>
>> The line in question is:
>>
>> $maia_sql_dsn = "mysql://maia:passwordtcp(localhost:3306)/maia";
>>
>> I've changed localhost to 127.0.0.1 and the actual
IP address of the
>> machine to see if there was just something up with
name resolution,
>> etc.
>>
>> Danita
>>
> 
> Is MySql listening on 3306?
> 
> lsof -P | grep LISTEN
> (or maybe)
> ps aux | grep 3306


Or, more directly:

	telnet 127.0.0.0 3306

J
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
DB problems
user name
2006-06-03 14:03:07
>Or, more directly:
>
>	telnet 127.0.0.0 3306
>

You meant 127.0.0.1

If MySQL is not listening, is skip-networking in the
[mysqld] section of 
my.cnf (or some other file your initscript may load)
possibly set?

>From my my.cnf:

# Instead of skip-networking the default is now to listen
only on
# localhost which is more compatible and is not less secure.
bind-address            = 127.0.0.1

Gary V

____________________________________________________________
_____
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/di
rect/01/

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )