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

  • Darshan A.N.

    hi, i m new to node js. Could you please explain how the routing works? for example:
    I wanted to build an authentication app, how to create different pages? like i want to distinguish between admin and user login page. where should i create path for admin and user?

  • ujwal arak

    i’m facing this error “throw err; // Rethrow non-MySQL errors” by running this code can you help me with this

  • Anuj Tiwari

    How to check email duplication man?