|
|
 |
 | why this absolute path doesn't work, why is this different |  |
Posted: Fri Nov 07, 2003 7:53 am |
|
|
|
why the absolute path is not like every other php installation I've done,
?????
with this I get this error:
| Quote: | Warning: mysql_pconnect(): Access denied for user: 'myrandom@localhost' (Using password: YES) in /home/domainname/www/install.php on line 27
I cannot connect to the database because: Access denied for user: 'myrandom@localhost' (Using password: YES) |
the absolute path is in the following form:
it should come up with that error, the domain name is not the one included in the path with my webhoster.
the path I placed was in this form:
/home/username/public_html/ (if installed at the root)
or
/home/username/public_html/directoy (if installed in a primary directory).
WHICH SHOULD BE THE CORRECT PATH.
and this is not working, it keeps coming with the same connection to database error |
|
|
|
|
 | .. |  |
Posted: Fri Nov 07, 2003 8:10 am |
|
|
|
I was reading the post where someone mention a different path when hosting in a server with virtual_domains, but I didn't see any solution to my problem there.
I tryed those paths mentiones there and it come with the same error.
I tryed:
$CONFIG->wwwroot = "/home/httpd/vhosts/mydomainname.com";
$CONFIG->siteurl = "http://www.mydomainname.com";
what's is the solution to this dilema ?? |
|
|
|
|
 | forgot to mention |  |
Posted: Fri Nov 07, 2003 8:21 am |
|
|
|
I'm using the version 2.2, just downloaded yesterday.
my webhsting provider is using php 4.3.3 and apache server V1.3.28 on a Linux server 2.4.20-grsec
Server Root /usr/local/apache
DOCUMENT_ROOT /home/myusername/public_html
(my domain name is not included in the document root) |
|
|
|
|
 | other path |  |
Posted: Fri Nov 07, 2003 8:29 am |
|
|
|
other path I found is this in case my help to resolve this issue:
/usr/local/apache/bin/httpd |
|
|
|
|
Posted: Fri Nov 07, 2003 9:22 am |
|
|
| g0ldy |
| Visitor |
|
 |
| Joined: 29 Oct 2003 |
| Posts: 10 |
|
|
|
 |
 |
 |
|
| myusername = the username that you use for the ftp! |
|
|
|
|
 | Re: why this absolute path doesn't work, why is this differe |  |
Posted: Fri Nov 07, 2003 10:37 am |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
Hi Klaussr
If this is a direct quote below your problem is that the "domainname" in your config.php needs to be changed to your username. The one you use to ftp to you site. My quess would be something like:
/home/klaussr/public_html
If it not a direct quote then you need to check to make sure that you set up the db_connect.php with the right information for your mysql database. If you did this already check to make sure you didn't make any typos.
| klaussr wrote: |
with this I get this error:
| Quote: | Warning: mysql_pconnect(): Access denied for user: 'myrandom@localhost' (Using password: YES) in /home/domainname/www/install.php on line 27
I cannot connect to the database because: Access denied for user: 'myrandom@localhost' (Using password: YES) |
|
If that doesn't work ask your host to provide you with the complete path to root. They should have it posted somewhere on their hosting site in facts or help section.
Shadow |
|
|
|
|
 | |  |
Posted: Fri Nov 07, 2003 3:43 pm |
|
|
| cashgalore |
| Visitor |
|
 |
| Joined: 04 Nov 2003 |
| Posts: 13 |
|
|
|
 |
 |
 |
|
Hi Klaussr
what control panel are you using cPanel, Plesk or another |
|
|
|
|
 | xxxx |  |
Posted: Fri Nov 07, 2003 6:17 pm |
|
|
|
i'm using cpanel, the dbase has been created, the username and passwordfor the dbase is correct..
however installation fails to connect to dbase.
the absolut path is /home/username/public_html
I do create websites and have installed other applications like php oscommerce, xoops, phpbb, etc.. and all work fine. I don't know why your randomizer fail to connect with the path I gave it. |
|
|
|
|
 | ... |  |
Posted: Fri Nov 07, 2003 6:19 pm |
|
|
|
| that was a direct quote, I copyed and pasted |
|
|
|
|
Posted: Fri Nov 07, 2003 6:59 pm |
|
|
| webworks |
| Newbie |
|
 |
| Joined: 20 Oct 2003 |
| Posts: 7 |
|
|
|
 |
 |
 |
|
make sure the the dbuser has permission to use the database created
absolute path is for webfiles. |
|
|
|
|
|
|