Author Topic: Database error when I try to install 4images  (Read 3554 times)

0 Members and 1 Guest are viewing this topic.

Offline colinsp

  • Pre-Newbie
  • Posts: 3
    • View Profile
Database error when I try to install 4images
« on: September 18, 2007, 11:53:07 AM »
I have been trying to install 4images on my server with fantastico and failed miserably. I have therefore done a manual installation. I get the following error message

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'fotos'@'localhost' (using password: YES) in /home/turnspai/public_html/fotos/includes/db_mysql.php on line 39

An unexpected error occurred. Please try again later.

I know that 4images does work in my environment as I have it running on another subdomain. I do have an empty database created and the user fotos does have full permissions.

Any thoughts or help would be most welcome.

Colin

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Database error when I try to install 4images
« Reply #1 on: September 18, 2007, 12:07:53 PM »
sorry,
but this is mysql server related.

maybe
wrong password
or host
or user have no permissions.

OR password is not set ;)

p.s.: i get that when i put wrong password.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Database error when I try to install 4images
« Reply #2 on: September 18, 2007, 01:27:36 PM »
Check setting in cPanel ... is possible you forgot active database name too.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline colinsp

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Database error when I try to install 4images
« Reply #3 on: September 18, 2007, 02:10:29 PM »
Thanks very much it was the user name that it didn't like. Now sorted. :lol: