Closed jhere1 closed 1 year ago
Hello Jian, Just wondering, does MySQL (or MariaDB) allow to have DB name, consisting of several words (or reserved word[s])? Could you provide an example please?
On Tue, Aug 22, 2023 at 12:17 AM Jian He @.***> wrote:
account for db names with reserved chars, such as "-"
You can view, comment on, or merge this pull request online at:
https://github.com/AnatolyUss/nmig/pull/111 Commit Summary
- 08a3368 https://github.com/AnatolyUss/nmig/pull/111/commits/08a33682331c2e63bd2923687edc66ea67e792e8 dbname with reserved chars
File Changes
(1 file https://github.com/AnatolyUss/nmig/pull/111/files)
- M src/StructureLoader.ts https://github.com/AnatolyUss/nmig/pull/111/files#diff-685ea3e9d0f70d293ef540cb73b7a3b196d5c7c47ee06ccea3c5b9006c3ef6a9 (4)
Patch Links:
— Reply to this email directly, view it on GitHub https://github.com/AnatolyUss/nmig/pull/111, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHR7N7Z6366HCPLTCM3DGDXWPF7FANCNFSM6AAAAAA3Y6QRGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Ah, ok, I see ))
On Sun, Aug 27, 2023 at 7:33 PM Anatoly Khaytovich @.***> wrote:
Hello Jian, Just wondering, does MySQL (or MariaDB) allow to have DB name, consisting of several words (or reserved word[s])? Could you provide an example please?
On Tue, Aug 22, 2023 at 12:17 AM Jian He @.***> wrote:
account for db names with reserved chars, such as "-"
You can view, comment on, or merge this pull request online at:
https://github.com/AnatolyUss/nmig/pull/111 Commit Summary
- 08a3368 https://github.com/AnatolyUss/nmig/pull/111/commits/08a33682331c2e63bd2923687edc66ea67e792e8 dbname with reserved chars
File Changes
(1 file https://github.com/AnatolyUss/nmig/pull/111/files)
- M src/StructureLoader.ts https://github.com/AnatolyUss/nmig/pull/111/files#diff-685ea3e9d0f70d293ef540cb73b7a3b196d5c7c47ee06ccea3c5b9006c3ef6a9 (4)
Patch Links:
— Reply to this email directly, view it on GitHub https://github.com/AnatolyUss/nmig/pull/111, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHR7N7Z6366HCPLTCM3DGDXWPF7FANCNFSM6AAAAAA3Y6QRGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
an example we had would be a db name such as "test-database" the "-" is a reserved char.
@jhere1 Sorry, I had to revert this change. It breaks on MySQL 8.0.33 ... Could you share which MySQL version did you use?
account for db names with reserved chars, such as "-"