# Configuration of Radiant Mental with MySql & Litespeed ver 3

**URL:** <https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709>\
**Category:** Radiant CMS\
**Created:** [March 31, 2007, 9:43am UTC](https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709 "2007-03-31T09:43:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@benni](https://www.ruby-forum.com/u/benni)\
**Post date:** [March 31, 2007, 9:43am UTC](https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709/1 "2007-03-31T09:43:48Z")

</div>

Hi All,

After several runthroughs of the Radiant Mental with MySql, Apache and  
Mongrel, I diverted to MySql and Litespeed for stability and a much  
lower  
memory footprint/overhead on a 256MB Slice.

Following Sean’s instructions for Radiant Mental using Subversion, I was  
able to get a working Radiant server that served the  
[http://my.ip.address:3000/admin/login](http://my.ip.address:3000/admin/login) page yet I am unable to login.  
Unfortunately reviewing the process, it seems I have not setup a  
database  
specifically for the Radiant site. Between Sean’s instructions and that  
of  
Nathan via the radiantcms.pdf, I thought I had everything covered.

However, clearly the ‘admin’ user and the password ‘radiant’ have not  
been  
created.

Setup so far: Ubuntu server, system tools, SVN, Mysql, Radiant via SVN,  
configuration of database.yml.

As this is a SVN setup, once I change into the directory, I do not have  
to  
run ‘radiant site’ as this seems to have already been executed.  
According to  
the radiantcms.pdf, the next step should have been run the database  
setup  
script. Examining the script/ there seems to be no ‘setup\_database’  
script.

wall@fourwallsandaroof:~/project/radiant$ ls -al script  
total 56  
drwxr-xr-x 5 root root 4096 2007-03-31 05:55 .  
drwxr-xr-x 16 root root 4096 2007-03-31 06:44 …  
-rwxr-xr-x 1 root root 95 2007-03-31 05:55 about  
-rwxr-xr-x 1 root root 102 2007-03-31 05:55 breakpointer  
-rwxr-xr-x 1 root root 97 2007-03-31 05:55 console  
-rwxr-xr-x 1 root root 97 2007-03-31 05:55 destroy  
-rwxr-xr-x 1 root root 98 2007-03-31 05:55 generate  
drwxr-xr-x 3 root root 4096 2007-03-31 05:55 performance  
-rwxr-xr-x 1 root root 96 2007-03-31 05:55 plugin  
drwxr-xr-x 3 root root 4096 2007-03-31 05:55 process  
-rwxr-xr-x 1 root root 96 2007-03-31 05:55 runner  
-rwxr-xr-x 1 root root 96 2007-03-31 05:55 server  
drwxr-xr-x 7 root root 4096 2007-03-31 05:56 .svn  
-rwxr-xr-x 1 root root 144 2007-03-31 05:55 version

Any help welcome,

Cheers, Ben.

---

<div class="post-metadata">

**Author:** ![benni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@benni](https://www.ruby-forum.com/u/benni)\
**Post date:** [March 31, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709/2 "2007-03-31T15:50:26Z")

</div>

On Mar 31, 2007, at 3:42 AM, Benjamin M. wrote:

> been created.
> 
> Setup so far: Ubuntu server, system tools, SVN, Mysql, Radiant via  
> SVN, configuration of database.yml.

Try this:

rake production db:bootstrap

substitute development for production if that’s where you are.

That should help.

Walter

---

<div class="post-metadata">

**Author:** ![benni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@benni](https://www.ruby-forum.com/u/benni)\
**Post date:** [March 31, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709/3 "2007-03-31T16:54:33Z")

</div>

On 3/31/07, Walter Lee D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> rake production db:bootstrap

Thanks, Walter - I never knew you could write it that way. I always used  
RAILS\_ENV to specify the environment :-/

---

<div class="post-metadata">

**Author:** ![benni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@benni](https://www.ruby-forum.com/u/benni)\
**Post date:** [March 31, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/configuration-of-radiant-mental-with-mysql-litespeed-ver-3/90709/4 "2007-03-31T18:47:46Z")

</div>

Well, if you mean for starting it up, or want it to restart in the  
right environment, then I suppose your way is more ‘correct’. For  
scratching around on my Mac, I use script/server -e production to start  
up WEBrick in production.

Walter
