Problem with clean install
Posted: Mon 9. Oct 2006, 22:06
Hello community I would like to ask the experts or somebody with the same problem for help that I'll appreciate!
PHP Info
--------BEGIN HERE-------------
System Linux server.hostingoffice.us 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 CDT 2006 i686
Build Date Sep 21 2006 03:18:02
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pgsql' '--with-xmlrpc' '--with-ldap' '--with-iconv' '--with-kerberos' '--with-pspell' '--with-imap' '--with-imap-ssl' '--with-gettext' '--with-xml' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-ttf' '--with-freetype-dir' '--with-gd' '--enable-gd-native-ttf' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql=/usr' '--with-pear' '--enable-xslt' '--with-xslt-sablot=/usr' '--enable-sockets' '--enable-track-vars' '--with-zlib' '--with-openssl' '--with-bz2' '--enable-dba' '--with-flatfile' '--with-db4' '--enable-dbase' '--enable-exif' '--enable-wddx' '--enable-trans-sid' '--enable-dio' '--enable-sysvsem' '--with-mhash' '--with-readline' '--with-zip'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
--------------END HERE------------------
Server Info
--------------BEGIN HERE----------------
Server name server
WWW directory /home/user/public_html
Root directory /home/user
Path to PERL /usr/bin/perl
Perl modules Click to view
Path to sendmail /usr/sbin/sendmail
Apache version 1.3.37 (Unix)
MySQL version 4.1.21-standard
PHP version 4.4.4
PHP info Click to view
PERL version 5.8.7
Kernel version 2.6.9-42.0.2.EL
Machine Type i686
cPanel version 10.9.0-STABLE-38
----------------END HERE---------------
I create an a MySQL DB with this:
MySQL DB: db_phpwcms
user: user_phpwcms
password: *********
Granted permissions on MySQL database db_phpwcms to MySQL user user_phpwcms
I create a test.php from some forums that I found:
but still get an error:
On step 1 on the installation I get:
Please proof your database settings. There might be some mistakes!
and on the upper side:
Charset: UTF-8
MySQL host: localhost
DB user: user_phpwcms
DB password: ********
DB name: db_phpwcms
DB table prefix: [none], but I try all variations
use persistent db con: [checked]
create all db tables: [checked]
when I click to send db data I receive:
PHP Info
--------BEGIN HERE-------------
System Linux server.hostingoffice.us 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 CDT 2006 i686
Build Date Sep 21 2006 03:18:02
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pgsql' '--with-xmlrpc' '--with-ldap' '--with-iconv' '--with-kerberos' '--with-pspell' '--with-imap' '--with-imap-ssl' '--with-gettext' '--with-xml' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-ttf' '--with-freetype-dir' '--with-gd' '--enable-gd-native-ttf' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql=/usr' '--with-pear' '--enable-xslt' '--with-xslt-sablot=/usr' '--enable-sockets' '--enable-track-vars' '--with-zlib' '--with-openssl' '--with-bz2' '--enable-dba' '--with-flatfile' '--with-db4' '--enable-dbase' '--enable-exif' '--enable-wddx' '--enable-trans-sid' '--enable-dio' '--enable-sysvsem' '--with-mhash' '--with-readline' '--with-zip'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
--------------END HERE------------------
Server Info
--------------BEGIN HERE----------------
Server name server
WWW directory /home/user/public_html
Root directory /home/user
Path to PERL /usr/bin/perl
Perl modules Click to view
Path to sendmail /usr/sbin/sendmail
Apache version 1.3.37 (Unix)
MySQL version 4.1.21-standard
PHP version 4.4.4
PHP info Click to view
PERL version 5.8.7
Kernel version 2.6.9-42.0.2.EL
Machine Type i686
cPanel version 10.9.0-STABLE-38
----------------END HERE---------------
I create an a MySQL DB with this:
MySQL DB: db_phpwcms
user: user_phpwcms
password: *********
Granted permissions on MySQL database db_phpwcms to MySQL user user_phpwcms
I create a test.php from some forums that I found:
Code: Select all
<?php
$db_host="localhost";
$db_user="user_phpwcms";
$db_pass="*******";
$db_name="db_phpwcms";
$link=mysql_connect($db_host,$db_user,$db_pass) or die("Kann nicht mit der Datenbank verbinden!");
//Datenbank auswahlen
$res=mysql_select_db($db_name,$link) or die("Konnte die Datenbank '$db_name' nicht auswahlen!");
echo "Datenbankverbindung steht ($db_host,$db_user,$db_pass) und Datenbank $db_name wurde ausgewahlt.<br>Nun legen wir eine Tabelle an:<br><br>";
$res=mysql_query("CREATE TABLE `test` (`id` int(11) unsigned not null AUTO_INCREMENT PRIMARY KEY ) TYPE=MyISAM;") or die("konnte die Tabelle nicht anlegen");
echo "Tabelle wurde angelegt, jetzt wird sie wieder geloscht:<br>";
$res=mysql_query("DROP TABLE IF EXISTS `test`") or die("konnte die Tabelle nicht loschen");
?>
Any ideas because I would like to install this kind of CMS I like it, but....Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'user_phpwcms'@'localhost' (using password: YES) in /home/user/public_html/test_mysql.php on line 6
Kann nicht mit der Datenbank verbinden!
On step 1 on the installation I get:
Please proof your database settings. There might be some mistakes!
and on the upper side:
After when I:Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/user/public_html/setup/setup.php on line 58
Charset: UTF-8
MySQL host: localhost
DB user: user_phpwcms
DB password: ********
DB name: db_phpwcms
DB table prefix: [none], but I try all variations
use persistent db con: [checked]
create all db tables: [checked]
when I click to send db data I receive:
SOLUTION: NEVER EVER USE A SPECIAL CHARACTERS FOR AN A PASSWORD FIELD!!!!Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'user_phpwcms'@'localhost' (using password: YES) in /home/user/public_html/setup/setup.php on line 54
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/user/public_html/setup/setup.php on line 58