My PERL, PHP, MySQL and test environment are all set-up under Windows XP. While Link-Testing I ran into trouble trying to access a MySQL database table. I managed to force the error message "Access denied for user 'ODBC'@'localhost' ('using password: NO')". Researching further I discovered that ANONYMOUS (for Linux) is changed to ODBC (for windows). I found an old thread on the MySQL site which was supposed to overcome this problem, it didn't work I then changed the mysql commands to reflect ODBC (mysql_query to odbc_query etc.) and the system got annoyed because it was expecting MSSQL.That error message seems to be saying that you're trying to connect as the user called ODBC rather than by some ODBC driver. I doubt that is what you intended.
I can only gather through inference that you're talking about PHP there... moving on...
Are there any of the same restrictions (Linux/windows) using PERL and MySQL?Please refine your question to be much more clear about these "restrictions".
perl can connect to MySQL databases with the DBI and DBD::mysql modules, which have nothing at all to do with ODBC.
How do I pass the PHP variables to PERL and then get PERL to pass them back?From where? To where? Do you wish to embed one language in another? Or have two different processes communicate somehow?
-David
In reply to Re: using PERL, PHP and MYSQL together
by erroneousBollock
in thread using PERL, PHP and MYSQL together
by X9183
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |