تا اینکه بالاخره راه حلش پیدا کردم و اون هم set کردن دو خصوصیت به فایل کانفیگ mysql که در پوشه etc/my.cnf/ قرار داره و شما می تونید نمونه اش را پایین ببینید .
[mysqld]
lower_case_table_names=1
user = mysql
lower_case_table_names=1
user = mysql
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
default-character-set=utf8
default-collation=utf8_persian_ci
skip-external-locking
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
#general_log = 1
log_error = /var/log/mysql/error.log
[mysqldump]
[mysql]
دو تا خط آبی برای encoding و خط قرمز برای case sensitive است که توی لینوکس برای نام جداول به وجود می آید .basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
default-character-set=utf8
default-collation=utf8_persian_ci
skip-external-locking
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
#general_log = 1
log_error = /var/log/mysql/error.log
[mysqldump]
[mysql]
هیچ نظری موجود نیست:
ارسال یک نظر