|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Installation Help
Hello, new to PHP and MySQL, and trying to install ltwCalendar. I have seen similar posts with the same problems, but could not follow the solution, if any.
I have PHP 4.3.7 and MySQL 4.1.7, on a W2K Server usin IIS as the web server. I have downloaded and extracted the files to the wwroot directory, and applied the proper permissions. I have also created the user ltwuser in MySQL (using MySQL Control Center). I have also gone through ltw_config.php and adjusted all the parameters I thought needed to be. When running, http://domain/directory/ltw_install.php, i recieve the following error: ltwCalendar Installer (v4.0) Error: Connection to MySQL server localhost failed. Error: Connection to MySQL server localhost failed. Error: Connection to MySQL server localhost failed. Getting a list of tables from the database. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:Inetpubwwwrootcalendarprivateltw_classes.php on line 1247 Error: A problem was encountered while executing this query. $query -------------------------------------------------------------------------------- show tables Error: Fatal db Error. I figure this could and probably is a MySQL issues somewhere, I am just not experienced enough yet to troubleshoot. Any help is greatly appreciated, Chris |
|
#2
|
|||
|
|||
|
RE: Installation Help
It might be important to note that the user, ltwuser, on the host % has all privileges with grant option, globally.
Aslo here is the portion of ltw_config.php pertaining to the MySQL DB: // Define the database connection parameters. // Currently only db_type = 1 (My SQL) is supported. $ltw_config['db_type'] = 1; $ltw_config['db_server'] = 'localhost'; $ltw_config['db_name'] = 'calendar'; $ltw_config['db_user'] = 'ltwuser'; $ltw_config['db_pass'] = 'ltwpass'; $ltw_config['db_persistent'] = false; // Define the table names in the database to use $ltw_config['db_table_calendar']= 'ltw_eventsv4'; $ltw_config['db_table_category']= 'ltw_categoryv4'; $ltw_config['db_table_users'] = 'ltw_usersv4'; $ltw_config['db_table_log'] = 'ltw_logv4'; |
|
#3
|
|||
|
|||
|
RE: Installation Help
Not sure why the status changed on this post. I have not recieved any replies....
I have been just trying to modify the settings in ltw_config.php and the users and permissions in MySQL. I have gone so far as to set ltw_config.php to use root% and the root password. I am at a loss... |
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > Installation Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|