Simple jRDC2 server authentication example with user name and password
This example is based on this solved question for learning purpose.
If user name and password are not matched, the query will show 0 row result or affected rows.
I added a non-UI console app to connect to the server.
Edit the rdcLink host IP in Main module.
console.jar need to be run using Windows CMD or double click run_console.bat inside Objects folder
The server support SQLite and MySQL database.
Database is auto created if not existed when compiling.
Fixed error update animal command for MySQL ("can't specify target table for update in FROM clause" while executing an update query).
Edit config.properties file in Files folder to change MySQL root user and password.
GitHub: https://github.com/pyhoon/jrdc2-server-authentication-b4j
This example is based on this solved question for learning purpose.
If user name and password are not matched, the query will show 0 row result or affected rows.
I added a non-UI console app to connect to the server.
Edit the rdcLink host IP in Main module.
console.jar need to be run using Windows CMD or double click run_console.bat inside Objects folder
The server support SQLite and MySQL database.
Database is auto created if not existed when compiling.
Fixed error update animal command for MySQL ("can't specify target table for update in FROM clause" while executing an update query).
Edit config.properties file in Files folder to change MySQL root user and password.
GitHub: https://github.com/pyhoon/jrdc2-server-authentication-b4j