I'm using xampp. I also downloaded MySQL Database. Then I have created a database with Mysql Database, with
- username: root,password = 123456789.
Then I start Xampp Apache and Mysql. When I try to connect to localhost:8080/phpmyadmin, I receive this kind of error:
Messaggio di MySQL: Documentazione
Impossibile connettersi: impostazioni non valide. mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin ha provato a connettersi al server MySQL, e il server ha rifiutato la connessione. Si dovrebbe controllare il nome dell'host, l'username e la password nel file di configurazione ed assicurarsi che corrispondano alle informazioni fornite dall'amministratore del server MySQL.
So I think that I should modify the file:config.inc.php
but the problems are:
- I can't modify this file on Mac because it says that I'm not the superuser ( But I am).
- I don't know what I should modify.
Can you help me to solve this problem? I need to create a simple login form in Java and I need the connection with a database (maybe you know some other solutions to do this.) Thank you.