About Saurabh Mhatre 70 Articles
Currently working in web and hybrid application development
  • Budhabhooshan Patil

    nice man ..thanx

    • smhatre59

      Happy to help 😀

  • Thanks for the tutorial, very helpful.

    I ran into an issue transfering from the starter tutorial to this one, where you setup a basic database. You change the key in the connection object for the database from dbname to database, and obv the node server throws an error. Thought I should mention it.

    If you’re coming from the previous tutorial make sure the database key is updated:

    var connection = mysql.createConnection({
    host : ‘localhost’,
    user : ‘root’,
    password : ‘your-password’,
    database : ‘cloudprint’

  • Shubham Srivastav

    Hi Saurabh..I am not able to find the the tutorial to setup basic connection with mysql in server.js file

    • smhatre59

      Refer this tutorial first to set up mysql connection in server.js file:

      It has mysql to nodejs connection code snippet at the end..Then go for this tutorial