Professional Documents
Culture Documents
User Login Application Using Grails With Mysql
User Login Application Using Grails With Mysql
}
}
test {
dataSource {
dbCreate = "update"
url = "jdbc:mysql://localhost/mydb?useUnicode=yes&characterEncoding=UTF-8"
username = "root"
password = "root"
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:mysql://localhost/mydb?useUnicode=yes&characterEncoding=UTF-8"
username = "root"
password = "root"
}
}
}
6. Run the app
>right click on the project > Run As > Grails command(run-app)
In console it is showing Server running. Browse to http://localhost:8008/applicationname
7. Open the browser and check your app.
8. Before running this app we need to create database in MySql
>CREATE DATABASE mydb;
In mydb database user table will created.