-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento Setup Tool - Step 2 #1459
Comments
P.S. I think i'm getting the "Unknown Database Server Host." error. |
Try installing it again. Give the correct database credentials. |
Installing the whole of Magento 2 again? Sorry, not sure what part you mean. Thanks. |
Try installing in on different browsers. For example try it on Mozilla Firefox . |
If any of your entered information is not correct, you should see appropriate error message in pinkish box displayed giving idea as to what may be the issue. Are you hosting the database on local host or remote? If remote then please make sure that you are giving the correct hostname or IP address and there are no issues with firewall (and DNS if providing hostname instead of IP) and such. I hope this helps. |
Can you please share the magento version number? You will find that info in the first few lines in "composer.json" file which is located in the apache root directory. sample line would look like this: "version": "0.74.0-beta16", Also if you could post your php.ini file contents? |
@elliothagerty Did you verify the database is running and that the host and port are correct? Is the DB server reachable from your Magento 2 server? Are they on different hosts? |
@elliothagerty What browser are you using? In both chrome and FF, you can view developer console. Do you see any errors in that? |
@mazhalai I'm using chrome, there is no errors being logged to the console at all. |
Can you please try clearing your browser cache, delete contents of |
@mazhalai I've cleared the browser cache, also tried it in incognito mode and nothing changed. Thanks for reminding me about the PHP error log. It seems I was using the wrong version of PHP although I was adamant this was not the case!! Thanks for the help guys, always the simple things :) |
@elliothagerty thank you for reporting the issue! Glad you figured it out! |
@mazhalai I am now not able to install on step 6, I'm getting the following error on 1%: Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY', query was: INSERT INTO |
Do you have a previous installation? Did you install earlier with sample data? Looks like you have existing data in the database. You can either clean your db, or run |
@mazhalai that managed to solve the problem. But now It is getting stuck on 71% during the installation. I stops when installing 'Magento_Catalog' and hangs. No errors that i can see. Thanks. |
Have you tried a command-line installation? http://devdocs.magento.com/guides/v1.0/install-gde/install/install-cli-install.html |
@elliothagerty , it takes some time on that step. Do you terminate the process after some time? |
@mazhalai I tried this but it re-installed the sample data again. How can I re-install without the sample data to import my database? (without doing a completely clean install) |
@mazhalai ok, did a completely clean install and dumped the database. Next tried the data-migration tool. Similar error: [PDOException] |
@seabird that is an issue for the data-migration-tool. Please post this issue there. |
Bug - MAGETWO-49796 Catalog top nav, CSS class not set to active when using Varnish - MAGETWO-71890 Magento fails with deploymentConfig present on new install
Using the web interface to install magento 2, I can't get past "Step 2: Add a Database". I enter all the info, click on next, and nothing happens!?
The text was updated successfully, but these errors were encountered: