Re: [PHP] Re: *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 6:05 PM Subject: [PHP] Re: *Cannot connect to db > just humor with this: > > try commenting out the lines > > $dbname = "marketingcompany"; > $hostname="localhost"; > >

Re: [PHP] Re: *Cannot connect to db

2002-12-18 Thread Chris Hewitt
Alexey Lysenkov wrote: Warning: MySQL Connection Failed: Access denied for user: 'tmc@localhost' (Using password: YES) in e:\~~~\~~~\apache\website\~~~\testdb.php on line 8 The guy at the support says, that everybody else can connect no problems, sent me the code, which I copy-pasted and I still

Re: [PHP] Re: *Cannot connect to db

2002-12-18 Thread bbonkosk
Can you get into the mysql DB via command line? If so, try to get in there and make sure this user has permissions in the mysql.users table to connect via localhost. Also verufy password they are using. Try to have this user connect via the commandline in MYSQL, which if he is unable to there

[PHP] Re: *Cannot connect to db

2002-12-18 Thread Alexey Lysenkov
Warning: MySQL Connection Failed: Access denied for user: 'tmc@localhost' (Using password: YES) in e:\~~~\~~~\apache\website\~~~\testdb.php on line 8 The guy at the support says, that everybody else can connect no problems, sent me the code, which I copy-pasted and I still have this error. :((

[PHP] Re: *Cannot connect to db

2002-12-18 Thread Bastian Vogt
Hi, leave out the "@", and give us the error message. "@" suppresses error messages of any function. HTH, Bastian > mySQL; php running in safe mode; compared to the other code on the same > server. here is mine - I don't get any connection. What could be wrong? > Also, what does this @ sign mea

[PHP] Re: Cannot connect to db when running PHP as Cron

2001-07-31 Thread Richard Lynch
>Here is the crontab entry: >*/1 * * * * /usr/local/bin/php ora_test.php >> /tmp/cron_oralog > >Warning: Oracle: Connection Failed: Error while trying to retrieve >text for error ORA-12154 The user running the cron job probably doesn't have the various ORA environment variables set such as ORA_H