Access Denied

2001-12-31 Thread Clinton Hesse

I get this error when trying to connect to a mysql database

DBI-connect(database=baggs) failed: Access denied for user:
'baggs@localhost' (Using password: YES)

I added the user 'baggs' to the user table and to the db privilege table
and used mysqladmin reload to refresh the tables.

Any Ideas.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




MYSQL Database - DBI::db

2001-12-31 Thread Clinton Hesse

i'm using DBI (use DBI;) but I still get this error. Any Ideas.

Can't locate object method execute via package DBI::db (perhaps you

forgot to load DBI::db?)

- Original Message -
From: [EMAIL PROTECTED]
To: Clinton Hesse [EMAIL PROTECTED]
Sent: Monday, December 31, 2001 2:04 PM
Subject: Re: MYSQL Database - DBI::db


 Your message cannot be posted because it appears to be either spam or
 simply off topic to our filter. To bypass the filter you must include
 one of the following words in your message:

 database,sql,query,table

 If you just reply to this message, and include the entire text of it in
the
 reply, your reply will go through. However, you should
 first review the text of the message to make sure it has something to do
 with MySQL. Just typing the word MySQL once will be sufficient, for
example.

 You have written the following:

 i'm using DBI (use DBI;) but I still get this error. Any Ideas.

 Can't locate object method execute via package DBI::db (perhaps you

 forgot to load DBI::db?)






-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Execute Error

2001-12-31 Thread Clinton Hesse

It's funny, i can call method prepare on the database object but not
execute, error on line 3.

1. my $query = SELECT UserID,Name FROM test;
2. my $sdb = $dbobj-prepare($query);
3. $dbobj-execute;

where $dbobj is a reference to the database object

I get error

Can't locate object method execute via package DBI::db (perhaps you
forgot to load DBI::db?)




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Sorry Guys

2001-12-31 Thread Clinton Hesse

Good old copy and paste an error.
Thanks, will make sure the next time i have a problem, not to waste your
time for something silly.

















It's funny, i can call method prepare on the database object but not
execute, error on line 3.

1. my $query = SELECT UserID,Name FROM test;
2. my $sdb = $dbobj-prepare($query);
3. $dbobj-execute;

where $dbobj is a reference to the database object

I get error

Can't locate object method execute via package DBI::db (perhaps you
forgot to load DBI::db?)



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




DBD::mysql HElp

2001-12-29 Thread Clinton Hesse

 Hi,
 
 I'm trying to install DBD::MYSQL on Windows 2000 Pro.
 I've already install DBI
 
 Using ppm for ActivePerl
 I downloaded DBI and extracted it to a folder.
 Then i ran 
 
 ppm intall DBI
 It installed fine.
 
 I did the exact same thing for DBD::MYSQL but i get the following error
 
 Error: Package 'DBD::mysql' not found. Please 'search' for ot first.
 
 Do you know why it is not finding it? Please help!
 
 Thank you
 
 Clinton
 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




DBD::mysql HElp

2001-12-28 Thread Clinton Hesse

Hi,

I'm trying to install DBD::MYSQL on Windows 2000 Pro.
I've already install DBI

Using ppm for ActivePerl
I downloaded DBI and extracted it to a folder.
Then i ran 

ppm intall DBI
It installed fine.

I did the exact same thing for DBD::MYSQL but i get the following error

Error: Package 'DBD::mysql' not found. Please 'search' for ot first.

Do you know why it is not finding it? Please help!

Thank you

Clinton


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php