Ik heb een probleem met het benaderen van mijn MySQL server vanuit phpMyAdmin. Ik hen deze op local draaien op een Mac. Vanuit de terminal kan de de database gewoon benaderen, inloggen en doen wat ik wil. Aangezien het makkelijker werkt vanuit phpMyAdmin werk ik daar liever mee.
Nu kan ik dus niet inloggen in mijn database. Ik gebruik mijn root account om in te loggen. Ik krijg dan de volgende foutmelding:
De config file (config.inc.php) is naar mijn weten goed geconfigureerd. Met hulp van Google heb ik eigenlijk alle fouten eruit gehaald. Nu alleen deze nog.
Mijn authenticationtype is 'cookie' en mijn user name en password zijn ook ingesteld.
Dit is mijn config file:
Nu kan ik dus niet inloggen in mijn database. Ik gebruik mijn root account om in te loggen. Ik krijg dan de volgende foutmelding:
code:
1
| #1045 - Access denied for user 'pmausr'@'localhost' (using password: YES) |
De config file (config.inc.php) is naar mijn weten goed geconfigureerd. Met hulp van Google heb ik eigenlijk alle fouten eruit gehaald. Nu alleen deze nog.
Mijn authenticationtype is 'cookie' en mijn user name en password zijn ook ingesteld.
Dit is mijn config file:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
| <?php /* $Id: config.sample.inc.php 9673 2006-11-03 09:05:54Z nijel $ */ // vim: expandtab sw=4 ts=4 sts=4: /** * phpMyAdmin sample configuration, you can use it as base for * manual configuration. For easier setup you can use scripts/setup.php * * All directives are explained in Documentation.html and on phpMyAdmin * wiki <http://wiki.cihar.com>. */ /* * This is needed for cookie based authentication to encrypt password in * cookie */ $cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice /* * Servers configuration */ $i = 0; /* * First server */ $i++; /* Authentication type */ $cfg['Servers'][$i]['auth_type'] = 'cookie'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mark'; /* Server parameters */ $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; /* Select mysqli if your server has it */ $cfg['Servers'][$i]['extension'] = 'mysqli'; /* User for advanced features */ $cfg['Servers'][$i]['controluser'] = 'pmausr'; $cfg['Servers'][$i]['controlpass'] = 'pmapass'; /* Advanced phpMyAdmin features */ $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin'; $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark'; $cfg['Servers'][$i]['relation'] = 'pma_relation'; $cfg['Servers'][$i]['table_info'] = 'pma_table_info'; $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords'; $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages'; $cfg['Servers'][$i]['column_info'] = 'pma_column_info'; $cfg['Servers'][$i]['history'] = 'pma_history'; /* * End of servers configuration */ /* * Directories for saving/loading files from server */ $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; ?> |