Home > Database > Mysql Tutorial > play framework 2.0 使用 mysql

play framework 2.0 使用 mysql

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:08:31
Original
1190 people have browsed it

db=mysql db.default.driver=com.mysql.jdbc.Driver db.default.url=jdbc:mysql://localhost/test db.default.user=user db.default.password=pass -------------------------------------------------------------- http://repo.typesafe.com/typesafe/rele

  db=mysql 
  db.default.driver=com.mysql.jdbc.Driver 
  db.default.url="jdbc:mysql://localhost/test" 
  db.default.user=user 

  db.default.password=pass 

--------------------------------------------------------------


http://repo.typesafe.com/typesafe/releases/mysql  下载 相关 文件  放到  /home/diego/play/Play20/repository/local/ 下 

同时 拷贝 mysql-connector-java-5.1.18.jar  到工程中


-----------------------------------------------------------

/path/to/webapp/project/Build.scala 

val appDependencies = Seq( 
"mysql" % "mysql-connector-java" % "5.1.18" 

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Can't play
From 1970-01-01 08:00:00
0
0
0
Why can't I play it?
From 1970-01-01 08:00:00
0
0
0
Learn how to play audio
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template