erdius wrote:
> Create a mysql user. -- mysqladmin -u root password
> mynewpassword
This doesn't create a mysql user; it only changes the password of the existing root user. There's no good reason to do this, as the root user already has a password set. It's contained in /root/.my.cnf, so you don't have to enter it when using mysql from the command line. If you insist on using the root user to access mysql for phpnuke, just make a note of that password and enter it into the config files.
> Create a "nuke" database -- mysqladmin -p create nuke
This will work, but you only need the -p if you've changed the root password--see above. Following this, you really should create a mysql user just for phpnuke, as I (and others) have posted before. To do this, do:
# mysql
mysql> grant all on nuke.* to nuke@localhost identified by 'nukespassword';
> enter tables etc -- mysql -p nuke < nuke.sql
Same comment as above; you shouldn't need the -p
> edit config.php. enter in localhost, root (for example
> user), and mysql password.
As above; it's much better to use nuke (or some other limited-purpose mysql user) as the user, and a password just for that user.