+ 7

Can we connect Angular project with MySQL database without any API? If yes how & If no which API we can use to accomplish this?

5th Feb 2018, 5:35 AM
JULIUS FREDRICK
JULIUS FREDRICK - avatar
3 Answers
+ 6
Yes, you can do it without using an API. You only have to make sure that the server returns the query in JSON format https://www.w3schools.com/angular/angular_sql.asp
5th Feb 2018, 5:52 AM
Mickel
Mickel - avatar
+ 6
Thanks @Mickel
5th Feb 2018, 5:57 AM
JULIUS FREDRICK
JULIUS FREDRICK - avatar
+ 1
That is only for AngularJS, not Angular6 or Angular7..
25th Jun 2019, 5:55 AM
Andrei Ghita
Andrei Ghita - avatar