Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-06-05 21:30:41

openhand
Member
Registered: 2012-06-05
Posts: 3

MySQL connection on new installation

Download and install to localhost for testing : no problems (Looks functional, robust, addaptable and esthetically pleasing. Top marks).

Joined 1freehosting.com, as they have Piwigo on their own installer.

Tried their installer. It didnt install. (Free hosting, Ok. To be expected).

Uploaded latest version of Piwigo from disk and tried an install.
Entered the required details using the information for the database I had just created and pressed install, run, or whatever.
____________________________________________________________________________
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /home/u812585134/public_html/piwigo/include/dblayer/functions_mysql.inc.php on line 88

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/u812585134/public_html/piwigo/include/dblayer/functions_mysql.inc.php on line 88



Warning:  [mysql error 1045] Access denied for user 'root'@'localhost' (using password: NO)
SET NAMES "utf8" in /home/u812585134/public_html/piwigo/include/dblayer/functions_mysql.inc.php on line 767
____________________________________________________________________________

Possibly the copy I had on disk.
Cleared web directory.
Uploaded webinstall.php
Fresh install. No problems.
Typed in the web db details and tried again.

Same set of error messages.

I did enter the details of the web database, why is it trying to connect using "root@localhost"?
There is no way it will get through my firewall. :-)

I noticed an earlier, similar posting, but it wasn't clear if that was refering to a local or web install.
If I am duplicating, I apologise unresevedly.

Any help would be appreciated.
Thanks

Offline

#2 2012-06-06 00:41:43

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6074

Re: MySQL connection on new installation

by FTP, have you file

local/config/database.inc.php ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

#3 2012-06-06 00:52:49

openhand
Member
Registered: 2012-06-05
Posts: 3

Re: MySQL connection on new installation

Thanks for such prompt reply.

No. Only index.php in that directory on the host.

Offline

#4 2012-06-06 01:42:52

openhand
Member
Registered: 2012-06-05
Posts: 3

Re: MySQL connection on new installation

Found it on my localhost though and manually edited.

I think that has resolved that issue, as the error codes suggest that it's now using the correct login and password.

Unfortunately, I am now unable to reach MySQL even using phpMyAdmin, although I can create dbs with their front end. Time to work on the server side now.
(Round and round the goldfish bowl).

Thanks for your help. I don't think I would have guessed that one.

Offline

#5 2012-06-06 04:20:00

crisoli88
Member
Registered: 2012-06-06
Posts: 1

Re: MySQL connection on new installation

thanks for sharing....



____________________________
ms treatment

Last edited by crisoli88 (2012-06-12 04:16:43)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013