Tagged Questions
0
votes
0answers
55 views
Converting data from MSSQL Server to MySQL using MySQL Workbench and preserving special characters
I am trying to convert a MSSQL Server database with collation SQL_Latin1_General_CP1_CI_AS into a MySQL database using MySQL Workbench. I can successfully complete the process without any issues being ...
0
votes
2answers
205 views
How can I change collation for all tables and columns in MySQL database?
I have a problem with MySQL collation. It turns out that MySQL uses latin1_swedish_ci by default. Collation setup step has been missed on MySQL database instantiation for some reason. Thus, ...
0
votes
1answer
60 views
MySQL collate error occurs when sent by PHP app but does not occur in phpMyAdmin
I have a query that uses:
t3.`value` LIKE "%someval%" COLLATE utf8_general_ci
I load the page in my browser and get this error printed to the screen:
COLLATION 'utf8_general_ci' is not valid for ...
0
votes
0answers
66 views
Custom doctrine default character set
In my.ini mysql file, i have this :
[mysqld]
collation-server = utf8_general_ci
character-set-server = utf8
When i create my database with "doctrine:database:create", my collation db is in ...
1
vote
0answers
69 views
What would make a MySQL database create tables in a different collation other than its default?
I am adding tables to a Wordpress database on my localhost and it is changing my collation from utf8_general_ci to latin1_swedish_ci. I'm kinda stumped because I'm not familiar with working directly ...
1
vote
1answer
335 views
MySQL: Illegal mix of collations
I've tried using a stored procedure to create indices, and got the following error:
ERROR 1267 (HY000): Illegal mix of collations (utf8_general_ci,IMPLICIT) and
...
1
vote
1answer
330 views
Changing collation type database-wide in MySQL
How do I retroactively update the collation type database wide without dropping and recreating it?
I accidentally created a database without specifying UTF8 as the default collation type. I then went ...
1
vote
1answer
250 views
MySQL Character set and Collation Issue.?
I Have a table when i select from the table i got the invalid data as
mysql> select budgetID,StartDate,modifiedBy from Table_name order by budgetID desc limit 10;
...
2
votes
1answer
90 views
Why cp1256 collation is not 1 byte in MySQL?
I've read an article that cp1256 collation takes 1 byte for Arabic characters, but when I created an index on the column that was cp1256 with type of varchar(900), only 767 characters picked up for ...
2
votes
1answer
866 views
What's the differences between utf8_general_ci and utf8_unicode_ci and utf8_binary collation in MySQL?
I'm can't find the documentation of MySQL on this topic. Anyone can give some explanations please?
0
votes
1answer
2k views
Setting default charset/collation for MySQL database
noob sysadmin here...
I have a MySQL DB that used to be latin1, and I changed all the columns in all the tables to be utf8. However, I evidently didn't do all I had to do, because I just found that I ...
0
votes
1answer
2k views
Invalid default value for DateTime when changing to utf8_general_ci
I'm trying to run a script to modify a database, this query
ALTER TABLE cmContentVersion CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
gives this error
ERROR 1067 (42000) at line 68: ...