From 33e43f19cadd96a58f921449353b839259deccc2 Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Fri, 25 Jan 2019 11:57:45 -0700 Subject: [PATCH] Use UTF8 and General CI --- ehcp/classapp.php | 60 +++++++++++++++++------------------ ehcp/ehcp.sql | 62 ++++++++++++++++++------------------- ehcp/ehcp_vsftpd.sh.txt | 4 +-- ehcp/install_lib.php | 16 +++++----- ehcp/scriptsupdate.sql | 2 +- ehcp/scriptsupdate.sql.html | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/ehcp/classapp.php b/ehcp/classapp.php index 61608ee..eb0f30d 100755 --- a/ehcp/classapp.php +++ b/ehcp/classapp.php @@ -104,16 +104,16 @@ class Application 'createtable'=> "CREATE TABLE IF NOT EXISTS `settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `group` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `name` varchar(40) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `value` varchar(200) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `longvalue` text CHARACTER SET utf8 COLLATE utf8_turkish_ci, - `comment` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', + `group` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `value` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `longvalue` text CHARACTER SET utf8 COLLATE utf8_general_ci, + `comment` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `group` (`group`,`reseller`,`panelusername`,`name`,`value`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci COMMENT='ehcp db - Table for settings of ehcp'" +) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='ehcp db - Table for settings of ehcp'" ), 'vpstable'=>array( 'tablename'=>'vps', @@ -129,25 +129,25 @@ class Application 'createtable'=> "CREATE TABLE `vps` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `status` varchar(10) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `vpsname` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `description` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `hostip` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `netmask` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `broadcast` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `gateway` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, + `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `status` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `vpsname` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `description` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `hostip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `netmask` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `broadcast` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `gateway` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `image_template` varchar(100) DEFAULT NULL, `ram` int(11) DEFAULT NULL, `cpu` int(11) DEFAULT NULL, - `state` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `ping` varchar(10) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, + `state` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `ping` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `hdimage` varchar(200) DEFAULT NULL, - `addvpscmd` text CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, + `addvpscmd` text CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, PRIMARY KEY (`id`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci COMMENT='ehcp db - list of vps and their properties'" +) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='ehcp db - list of vps and their properties'" ), @@ -384,7 +384,7 @@ CREATE TABLE transport ( domainname varchar(128) NOT NULL default '', transport varchar(128) NOT NULL default '', UNIQUE KEY domainname (domainname) -) DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci +) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci " ), 'settingstable'=>array( @@ -407,10 +407,10 @@ CREATE TABLE transport ( 'tablename'=>'hash', 'createtable'=>" CREATE TABLE IF NOT EXISTS `hash` ( - `email` varchar(100) COLLATE utf8_turkish_ci NOT NULL DEFAULT 'NULL', - `hash` varchar(100) COLLATE utf8_turkish_ci DEFAULT NULL, + `email` varchar(100) COLLATE utf8_general_ci NOT NULL DEFAULT 'NULL', + `hash` varchar(100) COLLATE utf8_general_ci DEFAULT NULL, KEY `email_index` (`email`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci COMMENT='to store password remind hash' +) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='to store password remind hash' " ), @@ -433,7 +433,7 @@ CREATE TABLE IF NOT EXISTS `remote_backups` ( `transfer_pass` varchar(50) default NULL, `encryption_pass` varchar(50) default NULL, PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='Used to schedule cronjobs for remote backups'; +) DEFAULT CHARSET=utf8 COMMENT='Used to schedule cronjobs for remote backups'; ", 'checkfields'=>array( 'encryption_pass'=>'varchar(50)' @@ -451,7 +451,7 @@ CREATE TABLE IF NOT EXISTS `cronjobs` ( `dayofweek` tinyint(1) default NULL, `time` varchar(2), PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='Used to run any cronjobs an admin may want to run'; +) DEFAULT CHARSET=utf8 COMMENT='Used to run any cronjobs an admin may want to run'; " ), @@ -2100,7 +2100,7 @@ function advancedsettings(){ $optionlist=array( array('morethanoneserver','checkbox','righttext'=>'(This is experimental)','checked'=>$this->miscconfig['morethanoneserver'],'default'=>'Yes'), - array('mysqlcharset','lefttext'=>'Default mysql charset for new databases','righttext'=>'Example: DEFAULT CHARACTER SET utf8 COLLATE utf8_turkish_ci','default'=>$this->miscconfig['mysqlcharset']), + array('mysqlcharset','lefttext'=>'Default mysql charset for new databases','righttext'=>'Example: DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci','default'=>$this->miscconfig['mysqlcharset']), array('server_id','lefttext'=>'The id of this server, assigned by you, may be empty','righttext'=>'Example: 1 or home, This will be used in future for auto dyndns service inside ehcp','default'=>$this->miscconfig['server_id']), array('defaultdnsserverips','lefttext'=>'Default dns server ip\'s that will host new domains:','righttext'=>'Enter list of ip\'s of your dnsservers here, comma separated list (for this server, you may use localhost)','default'=>$this->miscconfig['defaultdnsserverips']), array('defaultwebserverips','lefttext'=>'Default webserver ip\'s that will host new domains:','righttext'=>'Enter list of ip\'s of your webservers here, comma separated list (for this server, you may use localhost)','default'=>$this->miscconfig['defaultwebserverips']), @@ -11737,7 +11737,7 @@ function addMysqlDbDirect($myserver, $domainname, $dbusername, $dbuserpass, $dbu # actual setup for db and dbuser, local or remote - # step 1: setup database: DEFAULT CHARACTER SET utf8 COLLATE utf8_turkish_ci + # step 1: setup database: DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci $s=$this->executeQuery("create database `$dbname` ".$this->miscconfig['mysqlcharset'],'creating db','',$link); diff --git a/ehcp/ehcp.sql b/ehcp/ehcp.sql index 7d3f430..72876d7 100755 --- a/ehcp/ehcp.sql +++ b/ehcp/ehcp.sql @@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS `scripts` ( `commandsaftercopy` text, `customfileownerships` text, PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='ehcp db - stores scripts that can be installed in ehcp'; +) DEFAULT CHARSET=utf8 COMMENT='ehcp db - stores scripts that can be installed in ehcp'; INSERT INTO `scripts` (`id`, `scriptname`, `homepage`, `description`, `filetype`, `fileinfo`, `scriptdirtocopy`, `commandsaftercopy`, `customfileownerships`) VALUES (1, 'WordPress', NULL, NULL, 'directurl', 'https://wordpress.org/latest.zip', 'wordpress', '', NULL), @@ -255,7 +255,7 @@ INSERT INTO misc (id, name, `value`, longvalue,comment) VALUES (12, 'quotaupdateinterval', '6', NULL,'this is in hours, quota will be calculated in this interval'), (13, 'webservertype', 'apache2', NULL,'apache2 or nginx, (or any other that is supported)'), (14, 'webservermode', 'nonssl', NULL,'ssl or nonssl'), -(15, 'mysqlcharset', 'DEFAULT CHARACTER SET utf8 COLLATE utf8_turkish_ci', NULL,'Default charset/collation for newly added databases'), +(15, 'mysqlcharset', 'DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci', NULL,'Default charset/collation for newly added databases'), (16, 'enablewebstats', 'on',null,'Webalizer web stats'), (17, 'versionwarningcounter', '5',null,'') ; @@ -335,10 +335,10 @@ CREATE TABLE transport ( DROP TABLE IF EXISTS `hash`; CREATE TABLE IF NOT EXISTS `hash` ( - `email` varchar(100) COLLATE utf8_turkish_ci NOT NULL DEFAULT 'NULL', - `hash` varchar(100) COLLATE utf8_turkish_ci DEFAULT NULL, + `email` varchar(100) COLLATE utf8_general_ci NOT NULL DEFAULT 'NULL', + `hash` varchar(100) COLLATE utf8_general_ci DEFAULT NULL, KEY `email_index` (`email`) -) DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci COMMENT='to store password remind hash'; +) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='to store password remind hash'; # these are net2ftp tables for logging etc... DROP TABLE IF EXISTS net2ftp_logAccess; @@ -358,41 +358,41 @@ CREATE TABLE net2ftp_users (ftpserver varchar(255) NOT NULL default '0',username CREATE TABLE IF NOT EXISTS `vps` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `status` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `vpsname` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `description` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `hostip` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `ip2` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `netmask` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `broadcast` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `gateway` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci NOT NULL, - `image_template` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `cdimage` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, + `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `status` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `vpsname` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `description` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `hostip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `ip` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `ip2` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `netmask` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `broadcast` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `gateway` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, + `image_template` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `cdimage` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `ram` int(11) DEFAULT NULL, `cpu` int(11) DEFAULT NULL, - `state` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, - `ping` varchar(10) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT NULL, + `state` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, + `ping` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL, `hdimage` varchar(200) DEFAULT NULL, `vncpassword` varchar(20) DEFAULT NULL, `addvpscmd` text default null, PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='ehcp db - list of domains and their properties'; +) DEFAULT CHARSET=utf8 COMMENT='ehcp db - list of domains and their properties'; CREATE TABLE IF NOT EXISTS `settings` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `group` varchar(20) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `name` varchar(40) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', - `value` text CHARACTER SET utf8 COLLATE utf8_turkish_ci, - `longvalue` text CHARACTER SET utf8 COLLATE utf8_turkish_ci, - `comment` varchar(100) CHARACTER SET utf8 COLLATE utf8_turkish_ci DEFAULT '', + `group` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `reseller` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `panelusername` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `name` varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', + `value` text CHARACTER SET utf8 COLLATE utf8_general_ci, + `longvalue` text CHARACTER SET utf8 COLLATE utf8_general_ci, + `comment` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '', PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='ehcp db - Table for misc configruation of ehcp'; +) DEFAULT CHARSET=utf8 COMMENT='ehcp db - Table for misc configruation of ehcp'; CREATE TABLE IF NOT EXISTS `remote_backups` ( `id` tinyint(4) NOT NULL auto_increment, @@ -406,7 +406,7 @@ CREATE TABLE IF NOT EXISTS `remote_backups` ( `transfer_pass` varchar(50) default NULL, `encryption_pass` varchar(50) default NULL, PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='Used to schedule cronjobs for remote backups'; +) DEFAULT CHARSET=utf8 COMMENT='Used to schedule cronjobs for remote backups'; CREATE TABLE IF NOT EXISTS `cronjobs` ( `id` tinyint(4) NOT NULL auto_increment, @@ -414,7 +414,7 @@ CREATE TABLE IF NOT EXISTS `cronjobs` ( `dayofweek` tinyint(1) default NULL, `time` varchar(2), PRIMARY KEY (`id`) -) DEFAULT CHARSET=latin1 COMMENT='Used to run any cronjobs an admin may want to run'; +) DEFAULT CHARSET=utf8 COMMENT='Used to run any cronjobs an admin may want to run'; CREATE TABLE IF NOT EXISTS `pwd_dirs` ( id int(11) NOT NULL auto_increment, diff --git a/ehcp/ehcp_vsftpd.sh.txt b/ehcp/ehcp_vsftpd.sh.txt index 3de207d..af45fe9 100755 --- a/ehcp/ehcp_vsftpd.sh.txt +++ b/ehcp/ehcp_vsftpd.sh.txt @@ -45,7 +45,7 @@ CREATE TABLE `ftpaccounts` ( `reseller` varchar(30) default NULL, PRIMARY KEY (`id`), UNIQUE KEY `username` (`ftpusername`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Tablo d�k�m verisi `ftpaccounts` @@ -67,7 +67,7 @@ CREATE TABLE `ftpaccounts` ( `reseller` varchar(30) default NULL, PRIMARY KEY (`id`), UNIQUE KEY `ftpusername` (`ftpusername`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Tablo d�k�m verisi `ftpaccounts` diff --git a/ehcp/install_lib.php b/ehcp/install_lib.php index b3d01ad..bd3bc90 100755 --- a/ehcp/install_lib.php +++ b/ehcp/install_lib.php @@ -1051,17 +1051,17 @@ function installMySQLServ(){#by earnolmartin@gmail.com aptget(array("php5-mysqlnd"),$usePrompts); } - replacelineinfile("character-set-server","character-set-server = latin1","/etc/mysql/mariadb.conf.d/50-server.cnf", false); - replacelineinfile("character-set-server","character-set-server = latin1","/etc/mysql/mariadb.conf.d/50-client.cnf", false); + replacelineinfile("character-set-server","character-set-server = utf8","/etc/mysql/mariadb.conf.d/50-server.cnf", false); + replacelineinfile("character-set-server","character-set-server = utf8","/etc/mysql/mariadb.conf.d/50-client.cnf", false); - replacelineinfile("collation-server","collation-server = latin1_swedish_ci","/etc/mysql/mariadb.conf.d/50-server.cnf", false); - replacelineinfile("collation-server","collation-server = latin1_swedish_ci","/etc/mysql/mariadb.conf.d/50-client.cnf", false); + replacelineinfile("collation-server","collation-server = utf8_general_ci","/etc/mysql/mariadb.conf.d/50-server.cnf", false); + replacelineinfile("collation-server","collation-server = utf8_general_ci","/etc/mysql/mariadb.conf.d/50-client.cnf", false); - replacelineinfile("character-set-server","character-set-server = latin1","/etc/mysql/mysql.conf.d/mysqld.cnf", false); - replacelineinfile("collation-server","collation-server = latin1_swedish_ci","/etc/mysql/mysql.conf.d/mysqld.cnf", false); + replacelineinfile("character-set-server","character-set-server = utf8","/etc/mysql/mysql.conf.d/mysqld.cnf", false); + replacelineinfile("collation-server","collation-server = utf8_general_ci","/etc/mysql/mysql.conf.d/mysqld.cnf", false); - replacelineinfile("character-set-server","character-set-server = latin1","/etc/mysql/my.cnf", false); - replacelineinfile("collation-server","collation-server = latin1_swedish_ci","/etc/mysql/my.cnf", false); + replacelineinfile("character-set-server","character-set-server = utf8","/etc/mysql/my.cnf", false); + replacelineinfile("collation-server","collation-server = utf8_general_ci","/etc/mysql/my.cnf", false); } function installPHPMYAdmin(){#by earnolmartin@gmail.com diff --git a/ehcp/scriptsupdate.sql b/ehcp/scriptsupdate.sql index ca75253..ea06b4d 100755 --- a/ehcp/scriptsupdate.sql +++ b/ehcp/scriptsupdate.sql @@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS `scripts` ( `scriptdirtocopy` varchar(50) default NULL, `commandsaftercopy` text, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='stores scripts that can be installed in ehcp' AUTO_INCREMENT=29 ; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='stores scripts that can be installed in ehcp' AUTO_INCREMENT=29 ; -- -- Tablo döküm verisi `scripts` diff --git a/ehcp/scriptsupdate.sql.html b/ehcp/scriptsupdate.sql.html index 2ee78e2..b12842a 100755 --- a/ehcp/scriptsupdate.sql.html +++ b/ehcp/scriptsupdate.sql.html @@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS `scripts` ( `scriptdirtocopy` varchar(50) default NULL, `commandsaftercopy` text, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='ehcp db - stores scripts that can be installed in ehcp'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='ehcp db - stores scripts that can be installed in ehcp'; INSERT INTO `scripts` (`id`, `scriptname`, `homepage`, `description`, `filetype`, `fileinfo`, `scriptdirtocopy`, `commandsaftercopy`) VALUES