DATA Step, Macro, Functions and more

Unble to load data into mysql database

Reply
Senior User
Posts: 1

Unble to load data into mysql database

Hi Folks,

 

While loading sas datset into mysql database recieving fallowing error.But not sure why recieving this error.

 

ERROR: CLI execute error: [MySQL][ODBC 5.3(w)
Driver][mysqld-5.1.55-enterprise-commercial-pro]Incorrect string value: '\xE9 Sing...' for
column 'CompanyName' at row 1

 

Please do the needfull.

 

 

Regards,

Arun

 

Super User
Posts: 11,343

Re: Unble to load data into mysql database

Posted in reply to arun_kadal

I would suggest that you look at the defined properties of the "CompanyName" field in the target table. It may have some validation rule or restriction that does not like something in that value, perhaps the \ character.

New Contributor
Posts: 2

Re: Unble to load data into mysql database

Posted in reply to arun_kadal

@arun_kadal Did you find a solution for your problem? I'm having the same issue.

Frequent Contributor
Posts: 149

Re: Unble to load data into mysql database

Posted in reply to arun_kadal
Looks like a problem caused by different encodings. Check session and database encoding.
Ask a Question
Discussion stats
  • 3 replies
  • 146 views
  • 0 likes
  • 4 in conversation