Open Green

Database Configuration

Back to the manual

Are you going to be using a database? If so, create the file /your/path/to/ravana/config/db.php and place these contents inside (while obviously substituting the actual value of the variables with your database configuration):

				<?
				# Only mysql is supported at the moment. Changing this line will
				# result in a terminal error!
				$config['dbtype'] = 'mysql';
				 
				# Where is the DB server? a IP, or 'locahost'
				$config['dbhost'] = 'localhost';
				 
				# Your DB's name ( a string, obviously)
				$config['db'] = 'myDatabase';
				 
				# User ( a string, obviously)
				$config['dbuser'] = 'Jon';
				 
				# Password ( a string, obviously)
				$config['dbpass'] = 'y8ose5';
				?>
			
Back to the manual