View Single Post
Old 03-02-2004, 05:20 PM   #14
paullind
Orange Mole
 
Join Date: Jan 2004
Posts: 30
different mysql connection info for shell?

I applied your code above and it has gotten me further along.

I've made it to the include statement in config.php for the connect.php .

The connect script does not seem to work when accessed this way (shell command)

I can manually enter sites to spider, connection ok that way.

In phpMyAdmin I get this message at the begining:
MySQL 3.23.49-log running on 69.49.xxx.yy as abcdef@69.49.aaa.bb

I normally use the first number as the host value in the connection script, I tried the second one also, both same result, the connect script does not make it beyond :
$id_connect = @mysql_connect(PHPDIG_DB_HOST,PHPDIG_DB_USER,PHPDIG_DB_PASS);

I guess a shell script cannot access MySql the same way? I'll ask my hosting service about that one.

Thx again,

paul L
paullind is offline   Reply With Quote