User | Post |
Book Keeper
Posts: 137/160 |
Thanks for the help, it's working now. |
Sandy53215
Posts: 843/948 |
Try editing: $cfg['blowfish_secret'] = ''; |
Book Keeper
Posts: 136/160 |
It's on the same server, I'm hosting it. :p |
DarkSlaya
Posts: 4020/4249 |
Also, check with your host if the databases are on the same server.
It won't find the user/password if it isn't on the same server |
Book Keeper
Posts: 135/160 |
I did as much, but I'm getting an error. I think I setup everything correctly, but I'm not sure.
Ps. I gave a link to the page and the config... and to all of you who would try to get my password, you failed. |
Sandy53215
Posts: 837/948 |
If I recall its config.inc.php
Something like such.
In the file:
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket $cfg['Servers'][$i]['connect_type'] = 'socket'; // How to connect to MySQL server ('tcp' or 'socket') $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection // (requires PHP >= 4.3.0) $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings // (this user must have read-only $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" // and "mysql/db" tables). // The controluser is also // used for all relational // features (pmadb) $cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? $cfg['Servers'][$i]['user'] = ''; // MySQL user $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed // with 'config' auth_type)
Edit the user and pass and your set and make sure you write out a security question. |
Book Keeper
Posts: 134/160 |
I'm having trubble getting mysql working, what parts of the config file should I change? |