Where is mysql/scripts/ctl.sh

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2013 08:58 PM
I can't seem to get Alfresco to work with MySQL. I've installed MySQL, created the database, etc. all according to the help file. However whenever I start Alfresco, it still wants to run PostgreSQL.
I noticed in the alfresco.sh file that it looks for a file called $INSTALLDIR/mysql/scripts/ctl.sh. In my installation folder, there is a postgresql folder containing scripts/ctl.sh, but no equivalent mysql folder! I suspect the reason it keeps trying to do PostgreSQL is because that's the only folder that's there.
So where do I get the mysql folder and its contents for Alfresco???
Or am I on the wrong track here, and there is another way?
Thanks for any help.
I noticed in the alfresco.sh file that it looks for a file called $INSTALLDIR/mysql/scripts/ctl.sh. In my installation folder, there is a postgresql folder containing scripts/ctl.sh, but no equivalent mysql folder! I suspect the reason it keeps trying to do PostgreSQL is because that's the only folder that's there.
So where do I get the mysql folder and its contents for Alfresco???
Or am I on the wrong track here, and there is another way?
Thanks for any help.
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2013 10:10 PM
First you should install mysql.
then create a database called alfresco (or other name),and create username and password for it
Then set these properties in alfresco-global.properties
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8
db.username=username
db.password=password
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
manu
and restart your alfresco server,it'll create tables automatically,you don't need to execute mysql scripts manually.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2013 10:13 PM
First you should install mysql.
then create a database called alfresco (or other name),and create username and password for it
Then set these properties in alfresco-global.properties
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8
db.username=username
db.password=password
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
manu
and restart your alfresco server,it'll create tables automatically,you don't need to execute mysql scripts manually.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2013 09:35 AM
Did all that. Didn't work. After restarting Alfresco server, it always runs postgresql/scripts/ctl.sh. Terminal looks like this:
/Applications/alfresco-4.1.5/postgresql/scripts/ctl.sh : postgresql (pid 67538) already running
How do I get it to use MySQL instead of PostgreSQL?
/Applications/alfresco-4.1.5/postgresql/scripts/ctl.sh : postgresql (pid 67538) already running
How do I get it to use MySQL instead of PostgreSQL?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2013 11:51 AM
Hi I have a similarly problem. After first run tomcat / alfresco created all mysql tables but I don't know how I log in. All tables are empty.
best regards
martim
best regards
martim
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2013 04:37 AM
you can use Alfresco WAR files for manual install into existing application servers and using existing mysql .
