How to get data from mysql database using javascript?

If possible, how can I get (and publish) data from mysql database using javascript? I know I can use php and other languages, but I just need to know if this is possible with javascript?

Thanks in advance.

+3
source share
7 answers

This is not possible with Javascript. I could not find this using server-side javascript .

Not sure about your exact requirements, but you can use Ajax to interact with the database, albeit with some server-side language.

+1
source

Javascript NodeJS , http://github.com/sidorares/nodejs-mysql-native - , Javascript .

javascript vanilla ( concurrency) , NodeJS, NodeJode MySQL NodeJS, .

http://github.com/sidorares/nodejs-mysql-native

+1

"iPhone" "Android", , .

+1

, javascript .

javascript- (, php script), .

-1
-1

iphone android . .

javascript, , GET POST , php.

Refer: http://www.javascriptkit.com/dhtmltutors/ajaxgetpost.shtml

-1

javascript AJAX, - AJAX

-1

Source: https://habr.com/ru/post/1756911/


All Articles