installer.php > password prompt solved

Archived from the Xataface Users forum.

chichi — Fri Jul 09, 2010 3:10 am

Hello I get a password prompt when trying to acces to installer.php
After 3 times trying to login(dont know what to put in there) the applikation gives me this info:
Please enter your MySQL Username and password to access this page

Can you give me a helping hand to get logged in or how to start?!
ist there a confi-file?

chichi


cantlep — Fri Jul 09, 2010 3:54 am

What credentials do you normally supply to access your Databases? Even better, have you set up a specific user purely for this Xataface DB? If so, use that.

i.e. from the CLI it would be something like.

Code: Select all
mysql -u <user> -p <database> Enter Password:

chichi — Fri Jul 09, 2010 4:16 am

Thanks for the quick answer. I just uploaded xataface (latest version) to my server, then tried to access installer.php, just like an .htacess it asks me for some password, I have not defined any pass yet.

chichi


cantlep — Fri Jul 09, 2010 6:41 am

Does a database for your installation actually exist on your system?

I can’t remember if the installer creates it on the fly..if it does, it would need credentials to do so… If it doesn’t, you need to create one.

Do you have CLI access to your server? If yes.

Code: Select all
mysql -u root

Does it let you in and can you CREATE when you get there?


chichi — Fri Jul 09, 2010 6:43 am

I cant start with installer.php xataface, cause the installer.php asks for a password. The login for the MYSQL-Database (user, pass) ist not working here. i dont understand why the app is asking for any pass here. i just want to add my mysql-Database with the installation-tool.
The prompt stopps me so i cant go any further. What am I doing wrong. chichi


cantlep — Fri Jul 09, 2010 6:56 am

Perhaps apache/whatever web server you’re using is blocking it? Can you send a screenshot of the password prompt?


chichi — Fri Jul 09, 2010 12:02 pm

I got it working, I forgot to write my hostname on the installer.php on line 22

Now I will try again, thanks for the help.
chichi


narezdog — Thu Jul 21, 2011 8:38 am

I have the exact same problem and I did just change line 22 to the point to the correct host (from local host) but it still ask for username and pass 3 times then “Please enter your MySQL Username and password to access this page” nada… please any suggestions are welcome.


shannah — Thu Jul 21, 2011 9:33 am

If you can’t get the installer working, perhaps just go to a manual install (see getting started guide > First application > Manual install)

-Steve