Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting to mysql database in NT

Status
Not open for further replies.

Davc

Technical User
Apr 30, 2002
8
IE
I am attemtping to insert information into a mysql() database. I have a perl script that communicates with the database, but it gives an error on connection .
--
DBCan't create IP socket (10106) at C:\webserver\Jigsaw\Jigsaw\ line 25.
--

I am running Jigsaw webserver off windows NT, and I am also running mysql off the same machine.
The code I am usin to connect to the database is...
--
my $DBH = DBI->connect("DBI:mysql:database=files;host=149.157.246.87","david","david")
or die "Error connecting to DB".DBI->errstr;
--
Does anyone have any ideas where I am going wrong?
 
..=("DBI:mysql:files:149.157.246.87","david","david");

note the punctuation and you can drop :149.157.246.87 for local machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top