php - Creating new PhpMyAdmin USER for MySQL Database. ERROR -



php - Creating new PhpMyAdmin USER for MySQL Database. ERROR -

i using xampp v3.2.1 , working on school project online system. since new web development, don't have slightest hint on how things. created new user in phpmyadmin, named "administrator" , entered password it. , saved. created new mysql database , tried connect simple php file. used line in connecting.

$con=mysqli_connect("localhost","administrator","r00tadmin###","mjca_db");

and getting error.

warning: mysqli_connect(): (hy000/1045): access denied user 'administrator'@'localhost' (using password: yes) in c:\xampp\htdocs\skyengine\system\index.php on line 3

failed connect mysql: access denied user 'administrator'@'localhost' (using password: yes)

i have no thought of do, tried searching on google dont know right syntax. hope can help me out. thanks

i think username "administrator" precated word, seek utilize username. anyway check tutorial if helps http://www.yourwebskills.com/dbphpmyadminusers.php

php html database mysqli phpmyadmin

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -