Permalink
Browse files

MySQL, not Mysql

  • Loading branch information...
adamw committed Sep 4, 2011
1 parent 9151d69 commit 82d231b11b26d1b1de6884c6d4ff4a3991bba07b
View
@@ -31,7 +31,7 @@ Starting an ElasticMQ server
Alternatively, you can use MySQL to store the datea:
- val node = NodeBuilder.withMysqlStorage("elasticmq", "root", "").build()
+ val node = NodeBuilder.withMySQLStorage("elasticmq", "root", "").build()
ElasticMQ dependencies in SBT
-----------------------------
@@ -9,7 +9,7 @@ import org.squeryl.adapters.{MySQLAdapter, H2Adapter}
object NodeBuilder {
private val squerylShutdown = () => SquerylStorage.shutdown()
- def withMysqlStorage(dbName: String, username: String, password: String,
+ def withMySQLStorage(dbName: String, username: String, password: String,
host: String = "localhost", port: Int = 3306) = {
withDatabaseStorage(new MySQLAdapter,
"jdbc:mysql://"+host+":"+port+"/"+dbName+"?useUnicode=true&characterEncoding=UTF-8",
@@ -13,7 +13,7 @@ object SQSManualTesting {
}
def mysql() {
- val node = NodeBuilder.withMysqlStorage("elasticmq", "root", "").build()
+ val node = NodeBuilder.withMySQLStorage("elasticmq", "root", "").build()
val client = node.nativeClient
readLine()

0 comments on commit 82d231b

Please sign in to comment.