Adobe Dreamweaver Forums



Last 10 THreads :         Renaming topics, links don't work (Last Post : SamDavidson - Replies : 0 - Views : 1 )           »          Replacing Returns (Last Post : rob day - Replies : 0 - Views : 1 )           »          Before I cry I thought I would ask.... (Last Post : Captiv8r - Replies : 2 - Views : 3 )           »          Dreamweaver Files panel cannot find my sites (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          Page Layout (Last Post : Murray *ACE* - Replies : 11 - Views : 12 )           »          Flash not appearing in web page (Last Post : rdcartoon - Replies : 0 - Views : 1 )           »          Visited Link appears as default (Last Post : DinahD - Replies : 7 - Views : 8 )           »          Insert "Search" in a Topic (Last Post : jimpr - Replies : 2 - Views : 3 )           »          The "quality" setting (Last Post : davexnet - Replies : 1 - Views : 2 )           »          click-and-drag swf pages (Last Post : Adventures NW mag - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Application Development
 
Tags: , ,



Reply
  #1 (permalink)  
Old 04-13-2008, 02:51 AM
John Doe
 
Posts: n/a
Diggs:
Default MySQL: where is log-warnings file?

hi:

OS X 10.4.10
Server version: 4.1.21-standard
MySQL client version: 5.0.24a

i imported a CSV file into a table using LOAD DATA. everything seems ok
but the operation reported some warnings i'd like to check

================================================== ===================
mysql> LOAD DATA LOCAL INFILE '/DATA/.../authors-3_unix_utf8.csv' INTO
TABLE authors_new FIELDS TERMINATED BY ';';

Query OK, 249 rows affected, 11 warnings (0.03 sec)
Records: 249 Deleted: 0 Skipped: 0 Warnings: 11
================================================== ===================

tia,

jdoe


Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-13-2008, 02:51 AM
Michael Fesser
 
Posts: n/a
Diggs:
Default Re: MySQL: where is log-warnings file?

.oO(John Doe)

>OS X 10.4.10
>Server version: 4.1.21-standard
>MySQL client version: 5.0.24a
>
>i imported a CSV file into a table using LOAD DATA. everything seems ok
>but the operation reported some warnings i'd like to check
>
>================================================= ====================
>mysql> LOAD DATA LOCAL INFILE '/DATA/.../authors-3_unix_utf8.csv' INTO
>TABLE authors_new FIELDS TERMINATED BY ';';
>
>Query OK, 249 rows affected, 11 warnings (0.03 sec)
>Records: 249 Deleted: 0 Skipped: 0 Warnings: 11
>================================================= ====================


Try a

SHOW WARNINGS;

after the first query.

Micha
Reply With Quote
  #3 (permalink)  
Old 04-13-2008, 02:51 AM
John Doe
 
Posts: n/a
Diggs:
Default Re: MySQL: where is log-warnings file?

thanks a lot Micha, it did the trick!

mysql> SHOW WARNINGS;
+---------+------+---------------------------------------------------------------+
| Level | Code | Message
|
+---------+------+---------------------------------------------------------------+
| Warning | 1265 | Data truncated for column 'removed' at row 30
|
| Warning | 1265 | Data truncated for column 'removed' at row 63
|
| Warning | 1265 | Data truncated for column 'surname' at row 71



Michael Fesser wrote:
> .oO(John Doe)
>
>> OS X 10.4.10
>> Server version: 4.1.21-standard
>> MySQL client version: 5.0.24a
>>
>> i imported a CSV file into a table using LOAD DATA. everything seems ok
>> but the operation reported some warnings i'd like to check
>>
>> ================================================== ===================
>> mysql> LOAD DATA LOCAL INFILE '/DATA/.../authors-3_unix_utf8.csv' INTO
>> TABLE authors_new FIELDS TERMINATED BY ';';
>>
>> Query OK, 249 rows affected, 11 warnings (0.03 sec)
>> Records: 249 Deleted: 0 Skipped: 0 Warnings: 11
>> ================================================== ===================

>
> Try a
>
> SHOW WARNINGS;
>
> after the first query.
>
> Micha

Reply With Quote


  #4 (permalink)  
Old 04-13-2008, 02:51 AM
Michael Fesser
 
Posts: n/a
Diggs:
Default Re: MySQL: where is log-warnings file?

.oO(John Doe)

>thanks a lot Micha, it did the trick!


You're welcome.

Micha
Reply With Quote
Reply


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

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



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 09:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk