MySQL database creation

terp4life2001

Joined: 2005-02-03
Posts: 4
Posted: Thu, 2005-02-03 03:22

Hey,

I have a freshly installed version of Fedora Core3 and I'm trying to get G2 to work on it. My problem is that when I get to step 5 "Database Setup" my MySQL database isn't setup. I ran "service mysqld start" which I believe started the MySQL daemon, but I don't have the slightest clue how to create a database. My system is also headless so I don't have the luxury of a cute little GUI to help me along.

Is there a nice tutorial of how to create a MySQL database? I'd love to just execute a few instructions and keep going without having to dig into MySQL.

Thanks in advance,

//Rob
----

Gallery URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-02-03 04:27

did you check README.html ?
if that isn't enough info try mysql documentation or a google search..

 
virshu
virshu's picture

Joined: 2003-09-13
Posts: 314
Posted: Thu, 2005-02-03 04:30

I assume somebody installed MySQL on the box; so he hopefully left some instructions how to start it. Generally, you can read documentation - http://dev.mysql.com/doc/mysql/en/index.html - or there are probably a million books like MySQL in 24 hours. The reason that it all may not matter is that if somebody installed MySQL, he porbably set the password that you will need to log on.

To make you feel better - there is not cute little GUI; so you are not missing much. There is a web based admin tool - phpMyAdmin - that you can use on a headless system just fine.

And to make you feel even better - there is very little Gallery-specific that you need to know about MySQL. You need to create a database (a command to do that is on step 5 screen that you saw); but Gallery will take care of everything else.

If you don't have the database (or don't have access to it) - you may want to start with Gallery1. It is in production; and it doesn't require a database.