mrhospman
12-28-2007, 12:06 PM
Hello:
I am on shared hosting with DreamHost. I need to modify the command line to make an adjustment on how to access the database on Dream Host's server. I have done a personal search through the files and I can't find which file or where I should make this adjustment. The plugin is activated but can't make the connection. Thanks. I have pasted the specific error message below which comes up in the "events tab" in my wordpress admin panel.
"Warning: main(license.php) [function.main (http://www.healthsmartsonline.net/calendar/events/function.main)]: failed to open stream: No such file or directory in /home/.miloe/mrhospman/healthsmartsonline/calendar/events/index.php on line 25
Fatal error: main() [function.require (http://www.healthsmartsonline.net/calendar/events/function.require)]: Failed opening required 'license.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.miloe/mrhospman/healthsmartsonline/calendar/events/index.php on line 25"
You MUST always use your hostname to connect to your database... "localhost" WILL NOT WORK. Connect to your new database from the command line with:
mysql -u mrhospman -p -h mysql.healthsmartsonline.net epc
You can also go to http://mysql.healthsmartsonline.net/ (http://mysql.healthsmartsonline.net/) to manage your MySQL database from the web.
I am on shared hosting with DreamHost. I need to modify the command line to make an adjustment on how to access the database on Dream Host's server. I have done a personal search through the files and I can't find which file or where I should make this adjustment. The plugin is activated but can't make the connection. Thanks. I have pasted the specific error message below which comes up in the "events tab" in my wordpress admin panel.
"Warning: main(license.php) [function.main (http://www.healthsmartsonline.net/calendar/events/function.main)]: failed to open stream: No such file or directory in /home/.miloe/mrhospman/healthsmartsonline/calendar/events/index.php on line 25
Fatal error: main() [function.require (http://www.healthsmartsonline.net/calendar/events/function.require)]: Failed opening required 'license.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.miloe/mrhospman/healthsmartsonline/calendar/events/index.php on line 25"
You MUST always use your hostname to connect to your database... "localhost" WILL NOT WORK. Connect to your new database from the command line with:
mysql -u mrhospman -p -h mysql.healthsmartsonline.net epc
You can also go to http://mysql.healthsmartsonline.net/ (http://mysql.healthsmartsonline.net/) to manage your MySQL database from the web.