I know this isn't supposed to be this hard. But I'm being bone-headed, I guess. Anyway, I get to the database connection screen (step 5, I think) and it can't connect. I don't have the db password as SME generates a random password. So how do I connect to my db so I can continue on with the setup?
Thanks...very frustrated.
Login using the terminal or SSH as root and issue the following command:
mysql
This will open mysql as local root user.
Now think of the following:
- a name for the database
- a username for the gallery daemon
- a password for the daemon user
You will have to replace the databasename, username and password values with the ones you have thought of and these values will also have to be entered in the gallery installation screen, most of this can also be found in the user manual and the gallery manual.
Now we can create a database:
create database databasename;
and add a user for this database:
grant all privileges on databasename to username@localhost identified by 'password';
To be sure all changes will be applied issue the following command:
flush privileges;
Now we can quit mysql:
quit;
This could also have been found in the
Technicians Manual in the MySQL administration section.