Re: Midgard and OSX

Robert Guerra <[email protected]> Fri, 2 Sep 2005 19:42:58 -0400
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Menno:



Here are the steps i mentioned. Do try them, and let me know if it  
works for you...

regards

Robert



###

Note: bolded items are what to type in..



-- perform the following step to remove previously defined hosts

#  sudo su

# cd :/sw/etc/midgard/apache/vhosts

# rm *

--- Start ---

#  sudo su



# mysql -u root -p

Enter password:  midgard

mysql>

mysql> drop database midgard;

Query OK, 30 rows affected (0.39 sec)

mysql> quit;

Bye

# datagard

- press return

- What is MySQL admin name? root

- What is MySQL admin password?  midgard

- Select Install (as it's the default, just press return)

- Give a name for the new database midgard

-  Username for Midgard database? midgard

- Password for Midgard database ? midgard

Trying to create mysql database and blobs dir.

wait....

(this will take a while)

- Create Virtual Host for Midgard? Yes (it's the default, so press  
return)

-  Virtual Host name? 127.0.0.1:80 (make sure you have the :80)

(or the IP # you have on your computer. Make sure it's always the  
same one)

#  /sw/sbin/apachectl stop

#  /sw/sbin/apachectl start



Now start up safari, and try accessing the Midgard welcome page...

  http://127.0.0.1:80/midgard

Hopefully it should work...let me know..