Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Many people currently seem to be having trouble getting the .ebextensions approach to work at the moment. Here is a work-around just to get up and running. I wouldn't run in production like this, but I have used it to do test/debug when I got frustrated with .ebextensions.</p> <p>You can put the mysql driver directly in your WAR. If you are using Maven, just add this to the pom.xml:</p> <pre><code> &lt;dependency&gt; &lt;groupId&gt;mysql&lt;/groupId&gt; &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt; &lt;version&gt;5.1.6&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>You can also add this to the META-INF/context.xml </p> <pre><code>&lt;Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" factory="org.apache.commons.dbcp.BasicDataSourceFactory" type="javax.sql.DataSource" url="jdbc:mysql://XXXXXXX ... /&gt; </code></pre> <p>And put this in the pom.xml (Otherwise the BasicDataSourceFactory isn't found):</p> <pre><code> &lt;dependency&gt; &lt;groupId&gt;commons-dbcp&lt;/groupId&gt; &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt; &lt;version&gt;1.4&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;commons-pool&lt;/groupId&gt; &lt;artifactId&gt;commons-pool&lt;/artifactId&gt; &lt;version&gt;1.6&lt;/version&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;commons-collections&lt;/groupId&gt; &lt;artifactId&gt;commons-collections&lt;/artifactId&gt; &lt;version&gt;3.2.1&lt;/version&gt; &lt;/dependency&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload