473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

MYSQL and charset+collation

Hi there,

I've been searching for about 6 hours to get a problem solved.
I installed MySQL 4.1.7 on the Debian web-server.

Normally this worked:
insert into logbook (userid,count,dof,aircrid,typeaircr,departure,dest ination,deptime,arrtime,remarks,nrto,nrldg,seland, meland,class1,class2,night,actinstr,siminstr,flins tr,crss,asflinstr,dual,pic,totdur)
VALUES ('1082213471','582','2004-11-22','PHUSJ','DV20','EHAM','EHAM','10:00','11:35',' TEST','1','1','00:45','','','','','','','','00:45' ,'','','00:45','00:45');

Now, I get an error. And I think I know where the problem is. It has
something to do with the charsets and collation.
I surfed on the internet for hours, but could not find how I could
solve this error 1064:

#1064 - You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'dual,pic,totdur) VALUES
('1082213471','582','2004-11-22','PHUSJ','DV20','EHAM','' at line 1

The collation in the tabel is set to latin1_swedish_ci.
The characterset is set to utf8.

When I change that (using phpmyadmin) to latin1, it still stays on
utf8.

I changed collation in the table of every row to utf8_general_ci, but
that did not work, too.

PLEASE HELP. I do not know anything I must do.

Greetings,

Temba
Jul 20 '05 #1
0 1437

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DH | last post by:
I must work with phpMyAdmin 2.6.0-pl3 installed on a client's Windows NT web server. I've not previously encountered options for charset and collation using phpMyAdmin, and am not sure what to set...
1
by: Bob Bedford | last post by:
I've no access to mysql NG, so I ask here: I've two identical tables (wich are created by usins the same script, but must be separated). When I execute a query wich return fields and do a...
0
by: Robert Mazur | last post by:
Solaris 9 - sparc 64bit MySQL 5.0 alpha (installed using binary from MySQL) --------------------------------- Has anyone expereinced this? The client will launch locally and process SQL...
1
by: Andres Monroy-Hernandez | last post by:
Hi, I'm trying to compile the latest mysql source in a Sun box: # uname -a SunOS bucktown 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-80 My configration looks like this: CFLAGS="-O3"...
1
by: Marcus | last post by:
Hello, I recently upgraded from 4.0 to 4.1. I've spent the last few days reading up on charsets since I never really thought about it when I used 4.0. I thought I had most of it figured out,...
2
by: Carlone | last post by:
Hi, I'm using mysql 4.0.18 on a web server with PHP 5.1.1 and I'm trying to pass from the iso-8859-1 encoding to utf8, but I'm still confused about many questions. With which encoding data is...
1
by: iksando | last post by:
Hello, I'm looking for solution in case insensitive search in MySql. Table exemple. CREATE TABLE `pozycje` ( `id` int(11) NOT NULL auto_increment, `eid` varchar(20) collate latin2_bin...
2
by: =?utf-8?B?UMSBdmVscyBNaWhhaWxvdnM=?= | last post by:
Hello, I have a problem. I've linked MySql server to MsSql, in MySql I have a table with Latvian data(character set is ucs2, ucs2_general_ci) and the problem is that when I use openquery to read...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.