mercredi 21 octobre 2009

Mysql

mysql> create database 3900_test;
Query OK, 1 row affected (0,00 sec)

mysql> grant all privileges on 3900_test.* to 'test'@'localhost' identified by 'test';
Query OK, 0 rows affected (0,00 sec)

vendredi 14 août 2009

Creation base sql et user

create database mabase;
grant all privileges on mabase.* to test identified by 'test';
mysql -h localhost -u test -ptest mabase

mardi 5 mai 2009

unicode

pour é
  • en java : \u00e9
  • en python : u'\xe9'

http://www.w3schools.com/tags/ref_entities.asp