Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Step 2 on install.php error.

Aloittaja texprrrob, huhtikuu 05, 2011, 08:34:46 IP

« edellinen - seuraava »

texprrrob

So, My host is 000webhost. I downloaded SMF 2.0 RC5. When I got to step 2(Database stuff, username, password, server name, blablablablabla). I entered all the correct info, and it said this:
!!
Critical Error!
Cannot connect to the database server with the supplied data.

If you are not sure about what to type in, please contact your host.
Access denied for user 'a3074591'@'srv40.000webhost.com' (using password: YES)

Now. The weird thing is, the host I entered wasn't hxxp:srv40.000webhost.com [nonactive]. It was hxxp:server40.000webhost.com [nonactive].
Here's some pictures, please review and help.

This shows the errors and text boxes within the SMF installer, and the info from 000webhost.

LiroyvH

it uses cPanel?
Try to put it as follows:

If your cPanel username is bob (example) try:

Databasename: bob_databasename
Username: bob_databaseusername

Besides, with cPanel: you will have to create the database first. And the user. And then add the user to the database with ALL privileges. (Just click ALL).
Login to cPanel and click on mySQL databases to get that done :) Just create a db, a user and then add the user to the DB. Then follow the example listed above with the usernames in the SMF installer :)

So the cPanel login details are not the login details for mySQL. Keep that in mind as the general rule.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

texprrrob

Thanks. Ends up there was a preset for SMF. So it made it much easier. But thanks anyways.

Advertisement: