# Troubleshooting mySQL database installs

**URL:** <https://discourse.farcrycore.org/t/troubleshooting-mysql-database-installs/116>\
**Category:** support\
**Created:** [May 5, 2014, 2:25am UTC](https://discourse.farcrycore.org/t/troubleshooting-mysql-database-installs/116 "2014-05-05T02:25:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![modius](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/modius/32/1197_2.png) [@modius](https://discourse.farcrycore.org/u/modius)\
**Post date:** [May 5, 2014, 2:25am UTC](https://discourse.farcrycore.org/t/troubleshooting-mysql-database-installs/116/1 "2014-05-05T02:25:58Z")

</div>

## mySQL Datasource

### Allow multiple statements

With a MySQL datasource you will need to tick a setting like `Allow multiple statements` for the installer import scripts to run correctly. Post installation, this option could be set to false, as FarCry does not use multiple statements in its normal running state.

#### On Railo 4.x

On Railo there is an option “Allow multiple Queries” in the datasource configuration screen that you must set to “true”:

![](https://discourse.farcrycore.org/uploads/default/original/1X/c9125afb4a604d4c5ae2611eea0871ce86c27c58.png)

#### Adobe ColdFusion

On ColdFusion you need to add an option to the connection string, `allowMultiQueries=true`.

Ben Nadel has blogged it here:

> **[Turning On Multiple Statements In ColdFusion 8 MySQL 4/5 Datasource](https://www.bennadel.com/blog/1209-turning-on-multiple-statements-in-coldfusion-8-mysql-4-5-datasource.htm)**
>
> Ben Nadel's web development blog on ColdFusion, jQuery, HTML5, AJAX, SQL, and all aspects of web application development.

### Use the latest mySQL driver

Make sure you are running the latest mySQL driver. Depending on your version of Railo and mySQL server you may find some odd behaviour on earlier versions of the driver.

You want at least `mysql-connector-java-5.1.25-bin.jar`. Just drop this into the Railo lib directory at `./WEB-INF/lib`.

Downloads available here: [https://dev.mysql.com/downloads/connector/j/](https://dev.mysql.com/downloads/connector/j/)

![](https://discourse.farcrycore.org/uploads/default/optimized/1X/5883a29f2ba629495418b79f56c8a8c28fa5919f_2_690x56.png)

You only need to place the new driver in `./lib`, Java will work out which is the latest version if you don’t change the filename. You can also keep updating the driver in this way.

## mySQL server installation

### Case sensitivity

While we endeavour to address case sensitivity issues as and when they arise in the code base, its not a bad idea to avoid them entirely by setting your mySQL installation to ignore casing in table names.

To make the table names case insensitive for MySQL on Linux. Find the MySQL `my.cnf` (in /etc?) and set:

```auto
lower_case_table_names=1`

```

You can confirm the current settings for your mySQL installation using:

`mysqladmin -uroot -p variables`

 ![](https://discourse.farcrycore.org/uploads/default/original/1X/4dbcb75ac538ab83ff5fc347d6c06f8c9490811a.png)

---

<div class="post-metadata">

**Author:** ![trondulseth](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/trondulseth/32/1175_2.png) [@trondulseth](https://discourse.farcrycore.org/u/trondulseth)\
**Post date:** [May 5, 2014, 11:19am UTC](https://discourse.farcrycore.org/t/troubleshooting-mysql-database-installs/116/2 "2014-05-05T11:19:02Z")

</div>

Just a fyi - the screenshot shows how it looks before you set the value to 1 (pretty obvious, but in case anyone is as slow as I am, I’m taking the liberty to point it out).
