PDA

View Full Version : PHP Script



bound4h
11-28-2007, 11:49 PM
I'm trying to install a PHP Calendar script and the install is asking me for a database server. Is it my domain name? Is it my Linux db path (/usr/lib...etc.)?

I've already created a MySQL db called "mycalendar" and Hostmonster made the db name "[myadminname]_mycalendar".

The install asks for:

Database Server
Database Name
Database Username
Database Password

Can someone help me out?

I'm using the SuperCali Event Calendar.

Mike

linFox
11-29-2007, 04:20 AM
The database server, for anything you host on your hostmonster account, is 'localhost'
The database name is the name as it is given, 'myadminname_mycalendar
You need to create a user in the MySQL control panel (the same page where you created the db). The username will then be in the same format as the database name (ie. myadminname_selectedusername) and the password is as you enter it.
You will also need to add the created user to your database (also on the same MySQL control panel page)