Hi.
See:
http://dev.mysql.com/doc/mysql/en/ODBC_Connector.html
When you call mysql_real_connect you use mysqlclient library,
which connects to server directly (you don't need to configure ODBC).
To connect using DSN, you should use ODBC API. ODBC and MySQL
are completly different things.
: Thursday, November 04, 2004 11:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Database Connection using DSN
Hi.
See:
http://dev.mysql.com/doc/mysql/en/ODBC_Connector.html
When you call mysql_real_connect you use mysqlclient library,
which connects to server directly (you don't need to configure ODBC
PROTECTED]
Subject: Re: Database Connection using DSN
Isn't that a question only for the general list. Cross posting is
not the nicest possible behaviour.
Andrey
[EMAIL PROTECTED] wrote:
Hi,
I would like to know how to connect to the mysql database using
a
DSN in mysql
-Original Message-
From: Gleb Paharenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 11:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Database Connection using DSN
Hi.
See:
http://dev.mysql.com/doc/mysql/en/ODBC_Connector.html
When you call mysql_real_connect you use
hi
the
/home/lark/public_html/connection.php on line 23
just refers to the file within the context of the whole file system and is
fine
the rest says that mysql cannot/does not execute the query so there is no
result to use.
the @ suppresses error messages so it may be best to remove it
try
--- Peter Lovatt [EMAIL PROTECTED] wrote:
hi
the
/home/lark/public_html/connection.php on line 23
just refers to the file within the context of the
whole file system and is
fine
the rest says that mysql cannot/does not execute the
query so there is no
result to use.
the @
Hi,
Looks like your problem is related to Access Privileges setup. Take a look at
http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Privilege_system
That should get you started.
I'll just summarize a bit what the manual says here. MySQL's security
http://mmmysql.sourceforge.net/mm.doc.tar.gz
-Original Message-
From: Greg Cardoza [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: Database Connection
Hello:
Is there anyone who can supply me with the syntax for
connecting to a database