<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic alfresco-community-3.4.b-installer-linux-x32.bin ; use MySQL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-3-4-b-installer-linux-x32-bin-use-mysql/m-p/268260#M221390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For others to save time…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What I have done&lt;/STRONG&gt;&lt;SPAN&gt;: downloaded alfresco-community-3.4.b-installer-linux-x32.bin and installed it on my Ubuntu 9.10; it should be mentioned that you need to execute the installer with 'root'; I wanted to use the already installed MySQL instance and gave the MySQL-root user to connect to the db in the install wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What happened (Symptom)&lt;/STRONG&gt;&lt;SPAN&gt;: after the installation finished, I started with &lt;/SPAN&gt;&lt;STRONG&gt;./alfresco.sh&lt;/STRONG&gt;&lt;SPAN&gt; but received error messages in the alfresco.log: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFact&lt;BR /&gt;ory&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;SPAN&gt;: this error, nor "alfresco database missing" or "alfresco database not created" or a hint when or from which script it will be created cannot be found in the forum/wiki/web. Former distributions had apparently a script &lt;/SPAN&gt;&lt;STRONG&gt;db_setup.sql&lt;/STRONG&gt;&lt;SPAN&gt; which created the database. Therefore I did the following:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;mysql -uroot -p&lt;BR /&gt;mysql&amp;gt; create database alfresco;&lt;BR /&gt;mysql&amp;gt; create user 'alfresco'@'localhost' IDENTIFIED BY 'alfresco';&lt;BR /&gt;mysql&amp;gt; grant all privileges on alfresco.* to 'alfresco'@'localhost' ;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Insert the user and its password into &lt;/SPAN&gt;&lt;STRONG&gt;tomcat/shared/classes/alfresco-global.properties&lt;/STRONG&gt;&lt;SPAN&gt;. With the next start of alfresco the missing tables were created in the DB and I could make use of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Porposal&lt;/STRONG&gt;&lt;SPAN&gt;: update this installation scenario in the documentation with the hint to create the db and provide a script to create the database and user.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2010 15:53:43 GMT</pubDate>
    <dc:creator>fasold</dc:creator>
    <dc:date>2010-12-12T15:53:43Z</dc:date>
    <item>
      <title>alfresco-community-3.4.b-installer-linux-x32.bin ; use MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-3-4-b-installer-linux-x32-bin-use-mysql/m-p/268260#M221390</link>
      <description>For others to save time…What I have done: downloaded alfresco-community-3.4.b-installer-linux-x32.bin and installed it on my Ubuntu 9.10; it should be mentioned that you need to execute the installer with 'root'; I wanted to use the already installed MySQL instance and gave the MySQL-root user to co</description>
      <pubDate>Sun, 12 Dec 2010 15:53:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-3-4-b-installer-linux-x32-bin-use-mysql/m-p/268260#M221390</guid>
      <dc:creator>fasold</dc:creator>
      <dc:date>2010-12-12T15:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: alfresco-community-3.4.b-installer-linux-x32.bin ; use MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-3-4-b-installer-linux-x32-bin-use-mysql/m-p/268261#M221391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for providing this information. But could you please also provide your changes to alfresco-global.properties? I'd like to try a formally installed mysql via apt-get, instead of the bundled one. What other changes did you have to make to use a non-bundled mysql?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also it'd be a lot of help if you could post your /etc/hosts.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mine is just:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10.0.2.5&amp;nbsp; debian &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And with that I at least get to the login box in share, but cannot log in, nor I can access alfresco (I get a 404 error)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is I too get the same mysql connection report you posted. I did try your solution,&amp;nbsp; and netstat indicates the port 3306 is opened, and I checked that the alfresco database was reallly created. I'm also able to log in to mysql with the alfresco user and all grants are there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J.M.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Dec 2010 23:31:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-community-3-4-b-installer-linux-x32-bin-use-mysql/m-p/268261#M221391</guid>
      <dc:creator>jamo88</dc:creator>
      <dc:date>2010-12-19T23:31:24Z</dc:date>
    </item>
  </channel>
</rss>

