Pats Toms Posted March 15, 2013 Report Share Posted March 15, 2013 (edited) Iečeko /etc/mysql/my.cnf Pamēģini salikt kaut ko tādu: [client] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8 //Te iespējams jārestartē mysql. Pēc tam ar mysql cli (terminālī "mysql -u root -p" un blā blā blā) uztaisi jaunu datubāzi ar create database viens; Tālāk vari pārbaudīt šādi: create table viens.test (field1 int, field2 varchar(32)); insert into viens.test (field1, field2) values (0, 'Jānim ir garumzīmes'); select * from viens.test; Edited March 15, 2013 by Pats Toms Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted March 15, 2013 Report Share Posted March 15, 2013 . Un nekāds PHPMyAdmin nav jāinstalē.Kopš kura laika viņš ir jāinstalē? nokopē -> atzipo un lieto ... vismaz pēdējās versijas .. un defoltā, viņš ir UTF-8 , piedevām DB principā ir vienalga kādā kodējumā tur tos datus tur glabā ... Quote Link to comment Share on other sites More sharing options...
blackhalt Posted March 15, 2013 Report Share Posted March 15, 2013 Pamēģini XAMPP http://www.apachefriends.org/en/xampp-macosx.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.