Mysql Query Türkçe Karakter Sorunu
16
●6.412
- 30-01-2014, 00:10:03Merhaba Arkadaşlar Bu Sıralar Bir Facebook Login Uygulaması Hazırlıyorum Forumada Bir Kaç Güne Kadar Vereceğim Sorunum Şu Tüm İşlemleri Yaptırdım Fakat Facebooktan Çektiğim Veriler Türkçe Karakterle Gelmesine Rağmen Veritabanıma Türkçe Karakteri Bozarak Kaydediyor Bunu Nasıl Çözebilirim.
- 30-01-2014, 01:19:24phpMyadmin'den kullandığın tablo ve veritabanın karakter kodlamasını "utf8_general_ci" olarak değiştirin.
- 30-01-2014, 07:31:05İlk Yapılandırma latin5 Olarak ayarlanmıştı dün utf8 olarak değiştirdim latin5 deyken hiç almıyordu şuan tr karakter bozuk alıyor.
- 30-01-2014, 09:26:17mysql connect kurduğun bölümde,
mysql_query('SET NAMES "utf8"');
mysql_query('SET CHARACTER SET utf8');
mysql_query('SET COLLATION_CONNECTION = "utf8_turkish_ci"');
tanımlamaları kontrol edebilirmisin yoksa ekle düzelir büyük ihtimalle - 30-01-2014, 09:33:04
<?php define('DB_SERVER', 'localhost:1455'); define('DB_USERNAME', 'xxxface'); define('DB_PASSWORD', '1234567'); define('DB_DATABASE', 'xxxpanel'); mysql_query('SET NAMES "utf8"'); mysql_query('SET CHARACTER SET utf8'); mysql_query('SET COLLATION_CONNECTION = "utf8_turkish_ci"'); $connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error()); $database = mysql_select_db(DB_DATABASE) or die(mysql_error()); ?>Bu Şekilde Çalıştırdığımda Hata Veriyor Hocam Nereye Eklemem Gerektiğini Belirtirmisiniz. - 30-01-2014, 09:40:06Verdiği Hatalar HocamyakoSin adlı üyeden alıntı: mesajı görüntüle
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 7
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 7
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 8
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 8
Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 9
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/grantbet/public_html/facebook2/config/dbconfig.php on line 9
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/grantbet/public_html/facebook2/config/dbconfig.php:7) in /home/grantbet/public_html/facebook2/facebook/facebook.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/grantbet/public_html/facebook2/config/dbconfig.php:7) in /home/grantbet/public_html/facebook2/login-facebook.php on line 58