+ 3

Can JavaScript be used to connect to MySql Database?

3rd Jul 2016, 4:57 AM
[No Name]
4 Réponses
+ 3
JavaScript is a client-side scripting language and shouldn't be used to connect to a database. I've seen some answers on Stackoverflow.com stating it's possible but not recommended due to security risks.
3rd Jul 2016, 11:06 AM
ZinC
ZinC - avatar
+ 1
Then which language should be used instead?
3rd Jul 2016, 11:09 AM
[No Name]
+ 1
which language to use instead depends on your development environment. personally, i like Python but there are strong cases to be made for every language.
3rd Jul 2016, 1:47 PM
Jonathan Bennett
Jonathan Bennett - avatar
+ 1
PHP is a very good option to use with MySql
30th Jul 2016, 10:43 AM
Ömer An
Ömer An - avatar