javascript - How to connect node.js to mysql and wamp/xampp server? -


i'm php programmer , working wp, ci, oc.

i absolute beginner of node.js, want know how connect mysql , wamp/xampp in step step method.

if going live it, live server setup.

please let me know in step step method.

follow tutorial. tutorial here

to use node.js need install packet manager npm , use install dependencies of project.

in example tutorial posted above hes uses npm install dependencies connect mysql requested. provides sample code.

good luck!

here few tutorials might follow, click here

this uses mongodb instead of mysql following tut things running quicker can find mysql.

click here

after installing npm tutorial right above here , check , make sure have npm installed follow youtube tutorial mysql set node. , here youtube video. click here


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -