MyBB Community Forums
PHP5 + Mysql 5 Turkish Character Settings - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: PHP5 + Mysql 5 Turkish Character Settings (/thread-30192.html)



PHP5 + Mysql 5 Turkish Character Settings - MyBBHost - 2008-03-29

Login SSH

Write :

pico /etc/my.cnf

or

nano /etc/my.cnf

Find :

[mysqld]

Under it Add :

default-character-set=latin5
default-collation=latin5_turkish_ci

Find :

[mysql.server]

Under it Add :

user=mysql
default-character-set=latin5

Find :

[mysql]

Under it Add :

default-character-set=latin5

Ctrl+X Save my.cnf

Please Restart Apache Server


RE: PHP5 + Mysql 5 Turkish Character Settings - dared - 2008-03-30

Login SSH
Write:
pico /etc/my.cnf
or
nano /etc/my.cnf
Find:
[mysqld]
Add after:
default-character-set=latin1
default-collation=latin1_turkish_ci
Find :
[mysql.server]
Add after:
user=mysql
default-character-set=latin1
Find :
[mysql]
Add after:
default-character-set=latin1
Ctrl+X Save my.cnf
Please Restart Apache Server


i think it will also work with thisway too. B-couse latin1 supports turkish special chars too...

by da way thx for info.

regards