Looking for a reason or a point to the solution.. DB install
Posted: Tue Apr 19, 2005 11:23 pm
Ok, I'm trying to setup a fresh clean install of osCommerce outside of the application vault and am having problems connecting to the database on install. Yes, I know I should use the app-vault install however it isn't patched for the server globals off in php. Yes, I know I can install via app vault and then copy over the files. This should work however and if it doesn't then potential clients that want to create and install a DB may have problems for their own applications.
Server specs:
Plesk 7.1.x CP
Latest release of PHP, MySQL etc.
RedHat 3ES.
Setup, uploaded and set file permissions per docs (osCommerce), created in the cp the database, and added a database user setting password.
Went to my /catalogdir/install and started the process, on step 2, enter in my domain, user id, password, and database, choose persistant connection and store session files in db. click next, get:
A test connection made to the database was NOT successful.
The error message returned is:
Host '66.98.140.139' is not allowed to connect to this MySQL server
Please click on the Back button below to review your database server settings.
If you require help with your database server settings, please consult your hosting company.
Here is my php:
[root@gz /]# rpm -qa |grep php
phpWiki-(none)-1.2-7108
php-mysql-(none)-4.3.10-3.rhel3.art
php-domxml-(none)-4.3.10-3.rhel3.art
php-pear-(none)-4.3.9-11.rhel3.art
phpAds-(none)-2.0-7101
phpsurveyor-(none)-0.98-7106
php-xmlrpc-(none)-4.3.10-3.rhel3.art
php-pgsql-(none)-4.3.10-3.rhel3.art
phpMyFamily-(none)-1.4.0-7101
phpBB-(none)-2.0.11-7101
phpDig-(none)-1.85-7101
php-mcrypt-(none)-4.3.10-3.rhel3.art
php-imap-(none)-4.3.10-3.rhel3.art
php-devel-(none)-4.3.10-3.rhel3.art
php-(none)-4.3.10-3.rhel3.art
phpMoney-(none)-1.3-7105
phpBugTracker-(none)-1.19-7101
phpBook-(none)-1.50-7102
php-snmp-(none)-4.3.10-3.rhel3.art
php-ldap-(none)-4.3.10-3.rhel3.art
php-mbstring-(none)-4.3.10-3.rhel3.art
[root@gz /]#
I've double and tripled checked the id/pw.. checked for case etc..
tested by loging into the shell, and using mysql -uxxxxx -pxxxxx logs me into the system, then type connect database name and get connected..
But not thru the web script...
Anyone have any ideas on how to fix this?
Server specs:
Plesk 7.1.x CP
Latest release of PHP, MySQL etc.
RedHat 3ES.
Setup, uploaded and set file permissions per docs (osCommerce), created in the cp the database, and added a database user setting password.
Went to my /catalogdir/install and started the process, on step 2, enter in my domain, user id, password, and database, choose persistant connection and store session files in db. click next, get:
A test connection made to the database was NOT successful.
The error message returned is:
Host '66.98.140.139' is not allowed to connect to this MySQL server
Please click on the Back button below to review your database server settings.
If you require help with your database server settings, please consult your hosting company.
Here is my php:
[root@gz /]# rpm -qa |grep php
phpWiki-(none)-1.2-7108
php-mysql-(none)-4.3.10-3.rhel3.art
php-domxml-(none)-4.3.10-3.rhel3.art
php-pear-(none)-4.3.9-11.rhel3.art
phpAds-(none)-2.0-7101
phpsurveyor-(none)-0.98-7106
php-xmlrpc-(none)-4.3.10-3.rhel3.art
php-pgsql-(none)-4.3.10-3.rhel3.art
phpMyFamily-(none)-1.4.0-7101
phpBB-(none)-2.0.11-7101
phpDig-(none)-1.85-7101
php-mcrypt-(none)-4.3.10-3.rhel3.art
php-imap-(none)-4.3.10-3.rhel3.art
php-devel-(none)-4.3.10-3.rhel3.art
php-(none)-4.3.10-3.rhel3.art
phpMoney-(none)-1.3-7105
phpBugTracker-(none)-1.19-7101
phpBook-(none)-1.50-7102
php-snmp-(none)-4.3.10-3.rhel3.art
php-ldap-(none)-4.3.10-3.rhel3.art
php-mbstring-(none)-4.3.10-3.rhel3.art
[root@gz /]#
I've double and tripled checked the id/pw.. checked for case etc..
tested by loging into the shell, and using mysql -uxxxxx -pxxxxx logs me into the system, then type connect database name and get connected..
But not thru the web script...
Anyone have any ideas on how to fix this?