<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/4891/database-failure-creating-local-sugar-with-wamp-and-sugarent-11-0-0-dev-1-zip</link><description>Hello! 
 I&amp;#39;m trying to get a local development environment setup with WAMP and I&amp;#39;m using the SugarEnt-11.0.0-dev.1.zip. After a couple of initial issues got ironed out I&amp;#39;ve got to the point where the installer ends with this message:- 
 Creating Sugar</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24128?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 15:30:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d292b066-eb8c-4c75-a9b7-3600fdc47182</guid><dc:creator>Kenneth Brill</dc:creator><description>&lt;p&gt;Please accept the answer, I&amp;#39;m trying to increase my score a few points&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24126?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 14:48:28 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:9b7028ba-540c-4fae-815b-9ff3fe53d7e7</guid><dc:creator>James Kinnersley</dc:creator><description>&lt;p&gt;Kenneth, thank you so much!&amp;nbsp; The installation completed and tables are created, just need to fix the licence validation now but, again, thank you.&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24125?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 14:08:57 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4c64a533-0c75-4b20-8584-2663bcfa6862</guid><dc:creator>Kenneth Brill</dc:creator><description>&lt;p&gt;I would guess that this line is your problem,&lt;br /&gt;&lt;br /&gt;default-storage-engine=MYISAM&lt;br /&gt;&lt;br /&gt;it should be&lt;br /&gt;&lt;br /&gt;default-storage-engine=&lt;code&gt;InnoDb&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You might also try&lt;br /&gt;&lt;br /&gt;&lt;code&gt;innodb_large_prefix = 1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;in there too.&amp;nbsp; But hte default engine is the source of the issue.&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24116?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 07:58:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:8e10e170-bb10-494f-be7d-e8dd8fe7914c</guid><dc:creator>James Kinnersley</dc:creator><description>&lt;p&gt;Hi Kenneth, thanks for responding. The&amp;nbsp;&lt;span&gt;my.ini is below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;; Example MySQL config file for medium systems.&lt;br /&gt;;&lt;br /&gt;; This is for a large system with memory of 1G-2G where the system runs mainly&lt;br /&gt;; MySQL.&lt;br /&gt;;&lt;br /&gt;; MySQL programs look for option files in a set of&lt;br /&gt;; locations which depend on the deployment platform.&lt;br /&gt;; You can copy this option file to one of those&lt;br /&gt;; locations. For information about these locations, see:&lt;br /&gt;; &lt;a href="http://dev.mysql.com/doc/mysql/en/option-files.html"&gt;dev.mysql.com/.../option-files.html&lt;/a&gt;&lt;br /&gt;;&lt;br /&gt;; In this file, you can use all long options that a program supports.&lt;br /&gt;; If you want to know which options a program supports, run the program&lt;br /&gt;; with the &amp;quot;--help&amp;quot; option.&lt;/p&gt;
&lt;p&gt;; The following options will be passed to all MySQL clients&lt;br /&gt;[client]&lt;br /&gt;;password = your_password&lt;br /&gt;port =3306&lt;br /&gt;socket = /tmp/mysql.sock&lt;/p&gt;
&lt;p&gt;; Here follows entries for some specific programs&lt;/p&gt;
&lt;p&gt;; The MySQL server&lt;br /&gt;[wampmysqld64]&lt;br /&gt;;skip-grant-tables&lt;br /&gt;default_authentication_plugin=mysql_native_password&lt;br /&gt;port =3306&lt;br /&gt;socket = /tmp/mysql.sock&lt;br /&gt;key_buffer_size = 256M&lt;br /&gt;max_allowed_packet = 1M&lt;/p&gt;
&lt;p&gt;;Added to reduce memory used (minimum is 400)&lt;br /&gt;table_definition_cache = 600&lt;/p&gt;
&lt;p&gt;sort_buffer_size = 2M&lt;br /&gt;net_buffer_length = 8K&lt;br /&gt;read_buffer_size = 2M&lt;br /&gt;read_rnd_buffer_size = 2M&lt;br /&gt;myisam_sort_buffer_size = 64M&lt;br /&gt;;Path to mysql install directory&lt;br /&gt;basedir=&amp;quot;c:/wamp64/bin/mysql/mysql5.7.31&amp;quot;&lt;br /&gt;log-error=&amp;quot;c:/wamp64/logs/mysql.log&amp;quot;&lt;br /&gt;;Verbosity Value 1 Errors only, 2 Errors and warnings , 3 Errors, warnings, and notes&lt;br /&gt;log_error_verbosity=2&lt;br /&gt;;Path to data directory&lt;br /&gt;datadir=&amp;quot;c:/wamp64/bin/mysql/mysql5.7.31/data&amp;quot;&lt;/p&gt;
&lt;p&gt;;Path to the language&lt;br /&gt;;See Documentation:&lt;br /&gt;; &lt;a href="http://dev.mysql.com/doc/refman/5.7/en/error-message-language.html"&gt;dev.mysql.com/.../error-message-language.html&lt;/a&gt;&lt;br /&gt;lc-messages-dir=&amp;quot;c:/wamp64/bin/mysql/mysql5.7.31/share&amp;quot;&lt;br /&gt;lc-messages=en_US&lt;/p&gt;
&lt;p&gt;; The default storage engine that will be used when create new tables&lt;br /&gt;default-storage-engine=MYISAM&lt;br /&gt;; New for MySQL 5.6 default_tmp_storage_engine if skip-innodb enable&lt;br /&gt;; default_tmp_storage_engine=MYISAM&lt;/p&gt;
&lt;p&gt;;To avoid warning messages&lt;br /&gt;secure_file_priv=&amp;quot;c:/wamp64/tmp&amp;quot;&lt;br /&gt;skip-ssl&lt;/p&gt;
&lt;p&gt;explicit_defaults_for_timestamp=true&lt;/p&gt;
&lt;p&gt;; Set the SQL mode to strict&lt;br /&gt;;sql-mode=&amp;quot;&amp;quot;&lt;br /&gt;sql-mode=&amp;quot;STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER&amp;quot;&lt;/p&gt;
&lt;p&gt;; Don&amp;#39;t listen on a TCP/IP port at all. This can be a security enhancement,&lt;br /&gt;; if all processes that need to connect to mysqld run on the same host.&lt;br /&gt;; All interaction with mysqld must be made via Unix sockets or named pipes.&lt;br /&gt;; Note that using this option without enabling named pipes on Windows&lt;br /&gt;; (via the &amp;quot;enable-named-pipe&amp;quot; option) will render mysqld useless!&lt;br /&gt;;&lt;br /&gt;;skip-networking&lt;/p&gt;
&lt;p&gt;; Disable Federated by default&lt;br /&gt;skip-federated&lt;/p&gt;
&lt;p&gt;; Replication Master Server (default)&lt;br /&gt;; binary logging is required for replication&lt;br /&gt;;log-bin=mysql-bin&lt;/p&gt;
&lt;p&gt;; binary logging format - mixed recommended&lt;br /&gt;;binlog_format=mixed&lt;/p&gt;
&lt;p&gt;; required unique id between 1 and 2^32 - 1&lt;br /&gt;; defaults to 1 if master-host is not set&lt;br /&gt;; but will not function as a master if omitted&lt;br /&gt;server-id = 1&lt;/p&gt;
&lt;p&gt;; Replication Slave (comment out master section to use this)&lt;/p&gt;
&lt;p&gt;; New for MySQL 5.6 if no slave&lt;br /&gt;skip-slave-start&lt;/p&gt;
&lt;p&gt;;&lt;br /&gt;; To configure this host as a replication slave, you can choose between&lt;br /&gt;; two methods :&lt;br /&gt;;&lt;br /&gt;; 1) Use the CHANGE MASTER TO command (fully described in our manual) -&lt;br /&gt;; the syntax is:&lt;br /&gt;;&lt;br /&gt;; CHANGE MASTER TO MASTER_HOST=&amp;lt;host&amp;gt;, MASTER_PORT=&amp;lt;port&amp;gt;,&lt;br /&gt;; MASTER_USER=&amp;lt;user&amp;gt;, MASTER_PASSWORD=&amp;lt;password&amp;gt; ;&lt;br /&gt;;&lt;br /&gt;; where you replace &amp;lt;host&amp;gt;, &amp;lt;user&amp;gt;, &amp;lt;password&amp;gt; by quoted strings and&lt;br /&gt;; &amp;lt;port&amp;gt; by the master&amp;#39;s port number (3306 by default).&lt;br /&gt;;&lt;br /&gt;; Example:&lt;br /&gt;;&lt;br /&gt;; CHANGE MASTER TO MASTER_HOST=&amp;#39;125.564.12.1&amp;#39;, MASTER_PORT=3306,&lt;br /&gt;; MASTER_USER=&amp;#39;joe&amp;#39;, MASTER_PASSWORD=&amp;#39;secret&amp;#39;;&lt;br /&gt;;&lt;br /&gt;; OR&lt;br /&gt;;&lt;br /&gt;; 2) Set the variables below. However, in case you choose this method, then&lt;br /&gt;; start replication for the first time (even unsuccessfully, for example&lt;br /&gt;; if you mistyped the password in master-password and the slave fails to&lt;br /&gt;; connect), the slave will create a master.info file, and any later&lt;br /&gt;; change in this file to the variables&amp;#39; values below will be ignored and&lt;br /&gt;; overridden by the content of the master.info file, unless you shutdown&lt;br /&gt;; the slave server, delete master.info and restart the slaver server.&lt;br /&gt;; For that reason, you may want to leave the lines below untouched&lt;br /&gt;; (commented) and instead use CHANGE MASTER TO (see above)&lt;br /&gt;;&lt;br /&gt;; required unique id between 2 and 2^32 - 1&lt;br /&gt;; (and different from the master)&lt;br /&gt;; defaults to 2 if master-host is set&lt;br /&gt;; but will not function as a slave if omitted&lt;br /&gt;;server-id = 2&lt;br /&gt;;&lt;br /&gt;; The replication master for this slave - required&lt;br /&gt;;master-host = &amp;lt;hostname&amp;gt;&lt;br /&gt;;&lt;br /&gt;; The username the slave will use for authentication when connecting&lt;br /&gt;; to the master - required&lt;br /&gt;;master-user = &amp;lt;username&amp;gt;&lt;br /&gt;;&lt;br /&gt;; The password the slave will authenticate with when connecting to&lt;br /&gt;; the master - required&lt;br /&gt;;master-password = &amp;lt;password&amp;gt;&lt;br /&gt;;&lt;br /&gt;; The port the master is listening on.&lt;br /&gt;; optional - defaults to 3306&lt;br /&gt;;master-port = &amp;lt;port&amp;gt;&lt;br /&gt;;&lt;br /&gt;; binary logging - not required for slaves, but recommended&lt;br /&gt;;log-bin=mysql-bin&lt;/p&gt;
&lt;p&gt;; Point the following paths to different dedicated disks&lt;br /&gt;;tmpdir = /tmp/&lt;br /&gt;;log-update = /path-to-dedicated-directory/hostname&lt;/p&gt;
&lt;p&gt;; The InnoDB tablespace encryption feature relies on the keyring_file&lt;br /&gt;; plugin for encryption key management, and the keyring_file plugin&lt;br /&gt;; must be loaded prior to storage engine initialization to facilitate&lt;br /&gt;; InnoDB recovery for encrypted tables. If you do not want to load the&lt;br /&gt;; keyring_file plugin at server startup, specify an empty string.&lt;br /&gt;early-plugin-load=&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;;innodb_data_home_dir = C:/mysql/data/&lt;br /&gt;innodb_data_file_path = ibdata1:12M:autoextend&lt;br /&gt;;innodb_log_group_home_dir = C:/mysql/data/&lt;br /&gt;;innodb_log_arch_dir = C:/mysql/data/&lt;br /&gt;; You can set .._buffer_pool_size up to 50 - 80 %&lt;br /&gt;; of RAM but beware of setting memory usage too high&lt;br /&gt;innodb_buffer_pool_size = 256M&lt;br /&gt;; Set .._log_file_size to 25 % of buffer pool size&lt;br /&gt;innodb_log_file_size = 256M&lt;br /&gt;innodb_log_buffer_size = 8M&lt;br /&gt;innodb_flush_log_at_trx_commit = 1&lt;br /&gt;innodb_lock_wait_timeout = 50&lt;br /&gt;innodb_flush_method=normal&lt;/p&gt;
&lt;p&gt;[mysqldump]&lt;br /&gt;quick&lt;br /&gt;max_allowed_packet = 16M&lt;/p&gt;
&lt;p&gt;[mysql]&lt;br /&gt;no-auto-rehash&lt;br /&gt;; Remove the next comment character if you are not familiar with SQL&lt;br /&gt;;safe-updates&lt;/p&gt;
&lt;p&gt;[isamchk]&lt;br /&gt;key_buffer_size = 20M&lt;br /&gt;sort_buffer_size = 20M&lt;br /&gt;read_buffer_size = 2M&lt;br /&gt;write_buffer_size = 2M&lt;/p&gt;
&lt;p&gt;[myisamchk]&lt;br /&gt;key_buffer_size = 20M&lt;br /&gt;sort_buffer_size_size = 20M&lt;br /&gt;read_buffer_size = 2M&lt;br /&gt;write_buffer_size = 2M&lt;/p&gt;
&lt;p&gt;[mysqlhotcopy]&lt;br /&gt;interactive-timeout&lt;/p&gt;
&lt;p&gt;[mysqld]&lt;br /&gt;default_authentication_plugin=mysql_native_password&lt;br /&gt;port =3306&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24114?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 02:39:23 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:bb541695-7b64-4942-85f2-f8bab6b1b733</guid><dc:creator>Kenneth Brill</dc:creator><description>&lt;p&gt;OK, I know I had this exact same problem when I loaded v10.&amp;nbsp; But that was a while ago and I cant remember how I solved it.&amp;nbsp; I do know that I have loaded lots of v10+ instances on XAMPP which has a windows version.&amp;nbsp; It seems to me that the problem came down to some settings in mySQL.&amp;nbsp; A google search makes it seem like the issue was in myISAM vs InnoDB tables but I dont think that was my problem.&lt;br /&gt;&lt;br /&gt;Can you post your my.ini (or whatever windows uses for a MySQL config file)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24104?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:13:59 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:9271b862-316c-4f9e-adca-30820d5b5c07</guid><dc:creator>James Kinnersley</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp; I&amp;#39;ve tried this again with the a new full release copy of Sugar 11 which was provided by support as suggested by Francesca but have had the same result, if anyone who uses WAMP can point me in the right direction to get a local version running, I&amp;#39;d really appreciate it.&lt;/p&gt;
&lt;p&gt;The sugarcrm.log file is:-&lt;/p&gt;
&lt;p&gt;Wed Jun 30 13:10:01 2021 [13520][-none-][ALERT] Error creating table: acl_actions: Query Failed: CREATE TABLE acl_actions (id char(36) NOT NULL ,date_entered datetime NULL ,date_modified datetime NULL ,modified_user_id char(36) NULL ,created_by char(36) NULL ,name varchar(150) NULL ,category varchar(100) NULL ,acltype varchar(100) NULL ,aclaccess int(3) NULL ,deleted bool DEFAULT 0 NULL , PRIMARY KEY (id), KEY idx_aclaction_id_del (id, deleted), KEY idx_category_name (category, name), KEY idx_del_category_name (deleted, category, name), KEY idx_del_category_name_acltype_aclaccess (deleted, category, name, acltype, aclaccess)) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: MySQL error 1071: Specified key was too long; max key length is 1000 bytes&lt;br /&gt;Wed Jun 30 13:10:01 2021 [13520][-none-][FATAL] died with message: Database failure. Please refer to sugarcrm.log for details.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24052?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 14:38:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:9a5c74f2-c335-4258-bf31-0f7c9ce921f9</guid><dc:creator>James Kinnersley</dc:creator><description>&lt;p&gt;Hi Francesca. Thank you for your response.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been using the 10.3 developer version with Vagrant, I picked the latest developer version to download and attempt the WAMP install with essentially to match our cloud version number.&lt;/p&gt;
&lt;p&gt;The reason I&amp;#39;m trying to use a developer release is because the full version isn&amp;#39;t listed for me in the downloads on the support site, I&amp;#39;ve logged a ticket with support about this.&lt;/p&gt;
&lt;p&gt;I was using PHP 7.3.21, MySQL 5.7.31, Apache 2.4.46, Elasticsearch 7.13.2. which I believe met the requirements. I&amp;#39;ve since updated WAMP to the latest version and tried again with MySQL 8.0.25 but still had the same &amp;quot;Database failure&amp;quot; message at the end of the install. In both cases sugarcrm database is created, its just empty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Database failure creating local sugar with WAMP  and SugarEnt-11.0.0-dev.1.zip</title><link>https://sugarclub.sugarai.com/thread/24050?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 12:54:18 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:1d03864d-08d6-4917-b4b2-348f9adae98a</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;I would take a step back, is there a particular reason you are using the developer release of Sugar 11 instead of the full release which is now available?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general the .dev versions are pre-releases for developers to prepare for upgrades, but you can&amp;#39;t upgrade any further from those releases. I would recommend using the latest general release for your development instance, and only using dev releases for future-release testing.&lt;/p&gt;
&lt;p&gt;As for the error, I am not sure why the table would be missing, but I would start with reviewing the requirements and making sure your installation meets them, perhaps if you MySQL is not the right version you are missing something the steps that create the database:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://support.sugarcrm.com/Resources/Supported_Platforms/"&gt;support.sugarcrm.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;h1 class="name"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>