Current location: Hot Scripts Forums » Programming Languages » PHP » MySQL via ODBC won't advance rows


MySQL via ODBC won't advance rows

Reply
  #1 (permalink)  
Old 02-16-05, 08:54 PM
Ryan F Ryan F is offline
New Member
 
Join Date: Sep 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL via ODBC won't advance rows

I'm having an issue with MySQL or the MySQL ODBC driver. I'm trying to write data to a MySQL column thats set VARCHAR(15) from a seperate windows 2003 machine. The connection works and data is written to the proper column however the rows aren't advancing properly. After I write the data to the database I can see that data is being written to the limit of the field (15 characters) and then some crazy string is being written (ýÿÿÿ) and then the next field is inserted. Here's an example of a bunch of IP addresses being written into mysql with each line reqresenting another row:

Quote:
c-ip
24.110.126.171
ýÿÿÿ69.163.199.
108
55.20
.143.153.129ýÿÿ
ÿ172.150.236.21
0ýÿÿÿ63.207.131
.62
0.236.210ýÿÿÿ68
.202.132.119
Anyway, does anyone know what could be causing this problem? The data is coming out of Log Parser 2.2 on the windows machine and displays properly when I dump it to the screen or a text file from the CLI. LP 2.2 doesn't throw any errors during the dump either.

Thanks,
Ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to count mysql rows? steveo PHP 5 05-18-09 10:27 AM
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
delete duplicate rows in mysql using php seans9 PHP 4 07-16-08 10:42 PM
how to make a mySql ID? err..hard to explain StickMan PHP 6 08-02-04 10:43 PM
MySQL random rows query unclematty PHP 5 11-25-03 05:03 PM


All times are GMT -5. The time now is 07:27 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.