<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 442: MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/</link><description>Recent changes to 442: MariaDB installation problem</description><atom:link href="https://sourceforge.net/p/openemr/bugs/442/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 06 Jul 2016 08:09:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/openemr/bugs/442/feed.rss" rel="self" type="application/rss+xml"/><item><title>#442 MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/?limit=25#bb6e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Agree that we should support UTF8MB4 (I am pretty sure UTF8 works for all languages including Chinese, but the extra bit in UTF8MB4 allows other characters such as emoticons etc.).&lt;/p&gt;
&lt;p&gt;We went through a similar process when converted from latin1 to UTF8 in OpenEMR 3.1.0 with some of the phpgacl table keys.&lt;/p&gt;
&lt;p&gt;-brady&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brady Miller</dc:creator><pubDate>Wed, 06 Jul 2016 08:09:06 -0000</pubDate><guid>https://sourceforge.netac6ad9432409ee0b767bf07b045ed0bdd2a8502e</guid></item><item><title>#442 MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/?limit=25#ccd0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Oh and I think it would be safe to make the selector much shorter, say 128 characters.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod Roark</dc:creator><pubDate>Tue, 05 Jul 2016 14:57:33 -0000</pubDate><guid>https://sourceforge.netb310b336f084508fe48a2318890e83df723e1a33</guid></item><item><title>#442 MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/?limit=25#ee97</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I understand utf8mb4 is desirable for supporting languages like Chinese, Japanese and Korean.  Doubtless we should work towards that.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod Roark</dc:creator><pubDate>Tue, 05 Jul 2016 14:55:10 -0000</pubDate><guid>https://sourceforge.net7c2c3261e83c3c6143b9e13e446ef8a8e73b93f9</guid></item><item><title>#442 MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/?limit=25#cfd4</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Description has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1,7 +1,7 @@&lt;/span&gt;
&lt;span class="gd"&gt;-On MariaDB issuing CREATE DATABASE openemr  uses  utf8mb4 character set by default. &lt;/span&gt;
&lt;span class="gi"&gt;+On MariaDB if the database was created without specifying charset (i.e. issuing CREATE DATABASE openemr) then the DB will use  utf8mb4 character set by default. &lt;/span&gt;
 Initial install fails with the following message:

 unable to execute SQL: 'CREATE TABLE `drug_templates` ( `drug_id` int(11) NOT NULL, `selector` varchar(255) NOT NULL default '', `dosage` varchar(10) default NULL, `period` int(11) NOT NULL default '0', `quantity` int(11) NOT NULL default '0', `refills` int(11) NOT NULL default '0', `taxrates` varchar(255) default NULL, PRIMARY KEY (`drug_id`,`selector`)) ENGINE=InnoDB' due to: **Specified key was too long; max key length is 767 bytes**

&lt;span class="gd"&gt;-Need to use utf8 charset to create the database&lt;/span&gt;
&lt;span class="gi"&gt;+Need to use utf8 charset to create the database, as automatic install does.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Sverdlov</dc:creator><pubDate>Tue, 05 Jul 2016 12:03:49 -0000</pubDate><guid>https://sourceforge.net7078d4b1685a5d4065f332202d78c7218172d822</guid></item><item><title>MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 442 has been modified: MariaDB installation problem&lt;br/&gt;
Edited By: Oleg Sverdlov (osverdlov)&lt;br/&gt;
Description updated:&lt;br/&gt;
--- description-old&lt;/p&gt;
&lt;p&gt;+++ description-new&lt;/p&gt;
&lt;p&gt;@@ -1,8 +1,8 @@&lt;/p&gt;
&lt;p&gt;-On MariaDB issuing CREATE DATABASE openemr  uses  utf8mb4 character set by default. &lt;br/&gt;
+On MariaDB if the database was created without specifying charset (i.e. issuing CREATE DATABASE openemr) then the DB will use  utf8mb4 character set by default. &lt;br/&gt;
 Initial install fails with the following message:&lt;/p&gt;
&lt;p&gt;unable to execute SQL: 'CREATE TABLE &lt;code&gt;drug_templates&lt;/code&gt; ( &lt;code&gt;drug_id&lt;/code&gt; int(11) NOT NULL, &lt;code&gt;selector&lt;/code&gt; varchar(255) NOT NULL default '', &lt;code&gt;dosage&lt;/code&gt; varchar(10) default NULL, &lt;code&gt;period&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;quantity&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;refills&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;taxrates&lt;/code&gt; varchar(255) default NULL, PRIMARY KEY (&lt;code&gt;drug_id&lt;/code&gt;,&lt;code&gt;selector&lt;/code&gt;)) ENGINE=InnoDB' due to: &lt;strong&gt;Specified key was too long; max key length is 767 bytes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-Need to use utf8 charset to create the database&lt;br/&gt;
+Need to use utf8 charset to create the database, as automatic install does.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Sverdlov</dc:creator><pubDate>Tue, 05 Jul 2016 12:02:29 -0000</pubDate><guid>https://sourceforge.net38340e1126fa9df9f60ec48c94edb6358b390d37</guid></item><item><title>MariaDB installation problem</title><link>https://sourceforge.net/p/openemr/bugs/442/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On MariaDB issuing CREATE DATABASE openemr  uses  utf8mb4 character set by default. &lt;br/&gt;
Initial install fails with the following message:&lt;/p&gt;
&lt;p&gt;unable to execute SQL: 'CREATE TABLE &lt;code&gt;drug_templates&lt;/code&gt; ( &lt;code&gt;drug_id&lt;/code&gt; int(11) NOT NULL, &lt;code&gt;selector&lt;/code&gt; varchar(255) NOT NULL default '', &lt;code&gt;dosage&lt;/code&gt; varchar(10) default NULL, &lt;code&gt;period&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;quantity&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;refills&lt;/code&gt; int(11) NOT NULL default '0', &lt;code&gt;taxrates&lt;/code&gt; varchar(255) default NULL, PRIMARY KEY (&lt;code&gt;drug_id&lt;/code&gt;,&lt;code&gt;selector&lt;/code&gt;)) ENGINE=InnoDB' due to: &lt;strong&gt;Specified key was too long; max key length is 767 bytes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Need to use utf8 charset to create the database&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleg Sverdlov</dc:creator><pubDate>Tue, 05 Jul 2016 12:02:29 -0000</pubDate><guid>https://sourceforge.netbf4d1c7a0caefe1c2e47712c61bc78039827e766</guid></item></channel></rss>