skip to Main Content

Connection node js – Phpmyadmin

I am having trouble connecting node js with my database in phpmyadmin, I do not understand where this problem is coming from: the code: var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost', database : 'db_client3', user :…

VIEW QUESTION

PhpMyAdmin connection

I am trying to connect my Database on PhpMyAdmin with my webPage. However I keep getting this error: Connection failed: Access denied for user 'root'@'localhost' (using password: NO) My code (php) is: <?php $servername = "localhost"; $username = "root"; $password…

VIEW QUESTION
Back To Top
Search