[SOLVED] g2 newbie

FunkyELF

Joined: 2005-05-15
Posts: 6
Posted: Sun, 2005-05-15 15:14

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional):
Gallery version: g2 beta 2
Webserver (with version): Apache/2.0.52
Datatabase (with version): mysql 4.0.22
PHP version (eg 4.2.1): 4.3.9
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: Gentoo Linux
Web browser/version:
G1 version (for migration bugs):

Hey guys, this is most likely a database problem.
I was trying to setup G2 and I keep getting stuck at step 5 (database setup)

I did not have a database installed so I emerged mysql. I went to start it using /etc/init.d/mysql start, and it told me to run something, so I ran it and after I did I was able to start it. Then, I ran the two commands that I was supposed to....

mysqladmin -uroot create gallery2

mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO username@localhost IDENTIFIED BY 'password'" 

and I go back to the install, hit save and it just keeps me on that page.

What should I do to make sure that the database is installed correctly?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-15 15:23

I'm also using gentoo + mysql. I've emrged phpmyadmin to admin mysql.

Could you run the two commands successfully? (create db, grant all on...)?
And did you change "username" and "password" with the actual username, eg. "root" in the second command?
If you have problems executing these two commands, google may help:
http://www.google.com/search?q=mysql+gentoo

And what does "it just keeps me on that page. " mean?
No warning, error messages?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-05-15 16:07

please try using current cvs/nightly snapshot instead of beta 2.. let us know how it goes.

 
FunkyELF

Joined: 2005-05-15
Posts: 6
Posted: Mon, 2005-05-16 02:25
valiant wrote:
I'm also using gentoo + mysql. I've emrged phpmyadmin to admin mysql.

Could you run the two commands successfully? (create db, grant all on...)?
And did you change "username" and "password" with the actual username, eg. "root" in the second command?
If you have problems executing these two commands, google may help:
http://www.google.com/search?q=mysql+gentoo

And what does "it just keeps me on that page. " mean?
No warning, error messages?

I installed phpmyadmin and it didn't work either and the link it brought me to when I tried using it said it was me not having a mysql module for php, so I re-emerged apache, mysql, and php with the mysql USE flag and it works now.

Thanks