Current time: 03-22-2010, 03:29 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP5 + Mysql 5 Turkish Character Settings
03-29-2008, 08:53 PM
Post: #1
PHP5 + Mysql 5 Turkish Character Settings
Login SSH

Write :

Code:
pico /etc/my.cnf

or

Code:
nano /etc/my.cnf

Find :

Code:
[mysqld]

Under it Add :

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

Find :

Code:
[mysql.server]

Under it Add :

user=mysql
default-character-set=latin5

Find :

Code:
[mysql]

Under it Add :

default-character-set=latin5

Ctrl+X Save my.cnf

Please Restart Apache Server

MyBBHost.Net - MyBB Hosting - Joomla Hosting - Reseller and Dedicated 7/24 Ticket Support %100 MyBB compatible hosting solution.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-30-2008, 10:19 AM
Post: #2
RE: PHP5 + Mysql 5 Turkish Character Settings
Login SSH
Write:
Code:
pico /etc/my.cnf
or
Code:
nano /etc/my.cnf
Find:
Code:
[mysqld]
Add after:
default-character-set=latin1
default-collation=latin1_turkish_ci
Find :
Code:
[mysql.server]
Add after:
user=mysql
default-character-set=latin1
Find :
Code:
[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

Constantly talking is not necessarily communicating!

Sürekli konuşmak iletişim kurmak değildir!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: