Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
ADODB.connection Fail
Forums
Active Threads
Search
Who's Online
Help
Print Thread
ADODB.connection Fail
#
160920
01/10/06
01:48 PM
Joined:
Feb 2006
Posts: 4
Brasilia - DF BRAZIL
P
poste9
OP
Self-satisified door
OP
poste9
Self-satisified door
P
Joined:
Feb 2006
Posts: 4
Brasilia - DF BRAZIL
Can someone help me pls?
alias SQLL {
if ($com(SQL)) { .comclose $ifmatch }
.comopen SQL ADODB.Connection
var %sql = $com(SQL,Provider,4,bstr,MySQLProv)
var %sql = $com(SQL,ConnectionString,4,bstr,DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=db;USER=root;PASSWORD=;OPTION=3)
var %sql = $com(SQL,Open,1)
echo $iif($com(SQL).error,$com(SQL).errortext ( $+ $ifmatch $+ ),Great!)
.comclose SQL
}
Never returned Great!
Last edited by poste9;
01/10/06
01:59 PM
.
Copy Link to Clipboard
Re: ADODB.connection Fail
#
160921
01/10/06
09:05 PM
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
M
Mpdreamz
Hoopy frood
Mpdreamz
Hoopy frood
M
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
Seems to me you Open statement is off:
https://forums.mirc.com/s...true#Post115590
$maybe
Copy Link to Clipboard
Re: ADODB.connection Fail
#
160922
04/10/06
12:32 PM
Joined:
Feb 2006
Posts: 4
Brasilia - DF BRAZIL
P
poste9
OP
Self-satisified door
OP
poste9
Self-satisified door
P
Joined:
Feb 2006
Posts: 4
Brasilia - DF BRAZIL
that solution dont worked =\
the connection cant open in my pc.. i dont know why, but dont open.
Copy Link to Clipboard
Re: ADODB.connection Fail
#
160923
04/10/06
02:03 PM
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
M
Mpdreamz
Hoopy frood
Mpdreamz
Hoopy frood
M
Joined:
Apr 2004
Posts: 759
Arnhem, The Netherlands
You positive you have got the MySQL ODBC 3.51 Driver ?
its downloadable from the mysql site, install it and see if it makes a difference.
$maybe
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage