-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how do i connect sql database ? #50
Comments
Hi @ameinabdi, |
thanks @amanganiello90 |
What db have you choosen in the related question? |
mysql |
What command are you using to startup application? Write in order the commands. |
jhipster --blueprint nodejs |
That command is for generation.. I said about startup.. however for mysql prod db, the connection created is:
Change url with your mysql instance. |
i run this command inside the server folder |
Ok, so you are using sqlite dev db, not mysql.. paste in your server/src/orm.config.ts the orm.config.ts content |
but i don't need to use sqlite. i need to use mysql database |
Then, replace in the if of Prod section the mysql source configuration and run:
Please attention that in your db instance must be created the 3 user management tables, otherwise the initial db seed insert fails. To disable it comment this line |
okey thanks a lot mr @amanganiello90 |
How can read about sql db connection?
when i select mysql database i got this error to start project
The text was updated successfully, but these errors were encountered: