cancel
Showing results for 
Search instead for 
Did you mean: 

switching default installation to mysql

tiendoan
Champ in-the-making
Champ in-the-making
I am trying to switch the default installation to mysql.  Per the instruction in README_mysql.txt file, I deleted the 3 files

custom-db-and-data-context.xml
custom-db-connection.properties
custom-hibernate-dialect.properties

but on invoking alf_start.sh, i keep getting "the requested resource is not available". 

I have also copied the mysql-connector-java-5.0.3-bin.jar file to the WEB-INF/lib directory.

Is there something else I am missing?

Thanks
4 REPLIES 4

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,
I am trying to switch the default installation to mysql.  Per the instruction in README_mysql.txt file, I deleted the 3 files

custom-db-and-data-context.xml
custom-db-connection.properties
custom-hibernate-dialect.properties

You're not supposed to delete those files. You should rename them by removing the .sample and editing them based on your mysql installation.

Hope this helps,

–Aladdin

tiendoan
Champ in-the-making
Champ in-the-making
Hi RivetLogic

Believe me, those are the instructions in the README_mysql.txt file ?!?  I didn't believe the instructions at first so I did what I thought common sense would dictate, which is modify those files to use mysql, exactly as you suggested.  Well, that didn't work so I went ahead and deleted them per the instructions and that didn't work either. 

And that is how ended up here, asking this question ….

Thanks for answering; do you have other suggestions, e.g., log files where i can look to see what failed?

lnagra
Champ in-the-making
Champ in-the-making
I've done this before and got it to work without much difficulty.
Could you post the entire error and/or exception stack trace as that might throw up some ideas.

Thanks,

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

Try posting a brief description of your environment and the contents of

custom-db-and-data-context.xml
custom-db-connection.properties
custom-hibernate-dialect.properties

Also make sure you put those files in the right location (i.e. on your app server's classpath:/alfresco/extension)

Cheers,

–Aladdin