Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/10/2010, 02:56
albertrc
 
Fecha de Ingreso: febrero-2009
Mensajes: 443
Antigüedad: 15 años, 2 meses
Puntos: 1
show databases i show tables, create table y insert y los accentos

desde phpmyadmin cargo un fichero basededatos.sql
el fichero esta con formato utf-8 utilizo bluefish

Código:
create database à
use à

create table à(
è varchar(9) not null
í  varchar(9) not null
)ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;

insert into à (è,ì) values('ó','ú');
---------------------------------------
si hago show databases

tendria que salir à

sale error con las 3
use à , use a , use ?

--------------------------------------
si hago show tables

tendria que salir à
-----------------------------------------------------------------------------
tampoco puedo hacer ninguna select * from à; sale error
asi tampoco select * from `à`

como puedo solucionarlo


mysql> SHOW VARIABLES LIKE 'character_set_system';
+----------------------+-------+
| Variable_name | Value |
+----------------------+-------+
| character_set_system | utf8 |
+----------------------+-------+
1 row in set (0.00 sec)

Código:
en php utilizo mysqli_query ($link,'SET NAMES "utf8" ');
en html   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
espero que cuando salga mysql 6 con falcon este problema no exista

Última edición por albertrc; 27/10/2010 a las 04:30