Adgang til MySQL fra phpMyAdmin
Min phpmyadmin siger følgende:$cfg['PmaAbsoluteUri'] direktivet SKAL være sat i konfigurationsfilen!
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
Hvordan gøres dette, jegg har ændret i følgende filer:
my.ini
#This File was made using the WinMySQLAdmin 1.4 Tool
#07-07-2003 19:42:58
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=G:/MySQL
#bind-address=192.168.1.2
datadir=G:/MySQL/data
#language=G:/MySQL/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=G:/MySQL/bin/mysqld-nt.exe
user=root
password=1234
config.inc.php:
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '1234'; // MySQL password (only needed
Er det ikke sådan at man sætter password til mysql
