Skip to content

Commit 87a9252

Browse files
committed
update readme
1 parent e7561c3 commit 87a9252

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jakarta-ee/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ Alternatively, you can use any database client compatible with MariaDB.
9595
Execute the following SQL statements to create a user for the JakartaEE application, a database (or schema) and a table:
9696

9797
```sql
98-
CREATE DATABASE jakartaee_demo;
98+
CREATE DATABASE demo;
9999
CREATE USER 'user'@'%' IDENTIFIED BY 'Password123!';
100-
GRANT SELECT, INSERT, UPDATE, DELETE ON jakartaee_demo.* TO 'user'@'%';
100+
GRANT SELECT, INSERT, UPDATE, DELETE ON demo.* TO 'user'@'%';
101101

102-
USE jakartaee_demo;
102+
USE demo;
103103
CREATE TABLE programming_language(
104104
pl_id INT PRIMARY KEY AUTO_INCREMENT,
105105
pl_name VARCHAR(50) NOT NULL UNIQUE,
@@ -134,13 +134,13 @@ Click **Finish**.
134134

135135
In the JDBC Connection Pool list, click on **MariaDB**, select the **Additional Properties** tab, and add the following properties using the **Add Property** button:
136136

137-
* **url**: `jdbc:mariadb://127.0.0.1:3306/jakartaee_demo`
137+
* **url**: `jdbc:mariadb://127.0.0.1:3306/demo`
138138
* **user**: `user`
139139
* **password**: `Password123!`
140140

141141
> If you are using [MariaDB SkySQL](https://mariadb.com/products/skysql/), enable SSL and specify the path to the CA chain file that you can download from the [SkySQL Portal](https://cloud.mariadb.com):
142142
>
143-
> `jdbc:mariadb://demo-db0000xxxx.mdb000xxxx.db.skysql.net:3306/jakartaee_demo?sslMode=verify-ca&serverSslCert=/path/to/your/skysql_chain.pem`
143+
> `jdbc:mariadb://demo-db0000xxxx.mdb000xxxx.db.skysql.net:3306/demo?sslMode=verify-ca&serverSslCert=/path/to/your/skysql_chain.pem`
144144
145145
Go to **Resources > JDBC > JDBC Resources**. Click **New** and fill in the following details:
146146

@@ -172,5 +172,5 @@ mariadb-shell --dsn mariadb://user:'Password123!'@127.0.0.1
172172
Run the following query:
173173

174174
```SQL
175-
SELECT * FROM jakartaee_demo.programming_languages;
175+
SELECT * FROM demo.programming_languages;
176176
```

0 commit comments

Comments
 (0)