Install BarCode generator
From PlcWiki
(Difference between revisions)
(Created page with ''''create user in MySQL''' mysql> GRANT ALL PRIVILEGES ON plc.* TO 'plc'@'localhost' IDENTIFIED BY 'wklokan' WITH GRANT OPTION; mysql> flush privileges; '''tomcat/conf/contex…') |
|||
(One intermediate revision not shown) | |||
Line 10: | Line 10: | ||
username="plc" password="wklokan" driverClassName="com.mysql.jdbc.Driver" | username="plc" password="wklokan" driverClassName="com.mysql.jdbc.Driver" | ||
url="jdbc:mysql://localhost:3306/plc?autoReconnect=true&useUnicode=true&characterEncoding=iso8859-1"/> | url="jdbc:mysql://localhost:3306/plc?autoReconnect=true&useUnicode=true&characterEncoding=iso8859-1"/> | ||
+ | |||
+ | Create application, role and privileges in UserManagement |
Current revision as of 06:57, 23 September 2020
create user in MySQL
mysql> GRANT ALL PRIVILEGES ON plc.* TO 'plc'@'localhost' IDENTIFIED BY 'wklokan' WITH GRANT OPTION; mysql> flush privileges;
tomcat/conf/context.xml
<Resource name="jdbc/PLCDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" factory="org.apache.commons.dbcp.BasicDataSourceFactory" username="plc" password="wklokan" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/plc?autoReconnect=true&useUnicode=true&characterEncoding=iso8859-1"/>
Create application, role and privileges in UserManagement