For one of our database we need to use the characters set US ASCII and the collate ASCII-BIN.
The problem is we don^t have this option in the interclassment list. It begins at BIG5.
When we look in phpmyadmin the list of Characters sets for this MySQL server when can see
ascii (US ASCII)
ascii_bin Europe de l’ouest (multilingue), Binaire
ascii_general_ci Europe de l’ouest (multilingue), insensible ? la casse
but it is grised
When we look at /usr/share/mysql/charsets/ there is an ascii.xml file and in Index.xml asci is defined.
So why US Ascii is not listed in all the charsets available in phpmyadmin ? how could we change our database to use US ASCII (ASCII-BIN) ?
Every where in the Mysql doc they say that in the charsets dir you should have :
*.conf files --> define the charsets and collate
Index file --> define all charsets used by this server
In my charsets dir I DO NOT HAVE .conf files. ALL FILES are *.XML !
I looked at an other box with an mysql 3.x and in his charsets dir it has *.conf files and one Index file.
So maybe with 4.1.12 there is a difference, but it is not documented.
Do you know if there is a script to transform the xml files to conf files ?
Is it normal to have .xml files rather than .conf files ?
Does somebody who also have a mysqld 4.1.12 could tell me if in /usr/share/mysql/charsets/ there is *.conf file or *.xml files ?
Do you think it could simply be phpmyadmin that doesn’t show the good list of interclassment ?
Indeed I do not have the same var sets between phpmyadmin and mysqladmin variables.
for example :
from mysqladmin beetween session and global
character set client utf8 latin1
character set connection latin1 latin1
character set database latin1 latin1
character set results utf8 latin1
character set server latin1 latin1
character set system utf8 utf8
character sets dir /usr/share/mysql/charsets/ /usr/share/mysql/charsets/
collation connection latin1_swedish_ci latin1_swedish_ci
collation database latin1_swedish_ci latin1_swedish_ci
collation server latin1_swedish_ci latin1_swedish_ci
The character set client is set to utf8 for this session rather than latin1 ?
Also in phpmyadmin / Character Sets and Collations
ascii (US ASCII)
ascii_bin West European (multilingual), Binary
ascii_general_ci West European (multilingual), case-insensitive
is greyed.
Somebody has Ascii-bin available ?
Do you know why it uses utf-8 ?
Apparently it should be ok to have .xml in charsets dir with mysql 4.1.12, so… It might be a phpmyadmin pbm.
In the current doc’s phpMyadmin version installed on my server I found this
$cfg[‘AvailableCharsets’] array
Available character sets for MySQL conversion. You can add your own (any of supported by recode/iconv) or remove these which you don’t use. Character sets will be shown in same order as here listed, so if you frequently use some of these move them to the top.
Maybe it is because in /usr/local/interworx/lib/phpMyAdmin/config.inc.php there is not the ascii charset. I’ll try this
The problem become more important as one of our customers told he use Wordpress and he has to choose ascii-bin when he creates the wordpress database. He also told us, one year ago we had this option (??? we were on an other interworx server. is there a link ?)
I don’t want to spam this forum, so I’ll search and if some of you are interesting by this, I’ll let you know the issue (If I found it)