When reaching the install screen it asks for database username, password, etc. I put it all the correct information (I've double and triple checked that I'm putting localhost along with correct database username and password) and it gives this error:
"Could not connect to the database please make sure the database server, username and password is correct"
Database user name and database name are the same. Database password is about 10 characters long, mix of letters, numbers and symbols (+, {, etc).
Any ideas?
"Could not connect to the database please make sure the database server, username and password is correct"
Database user name and database name are the same. Database password is about 10 characters long, mix of letters, numbers and symbols (+, {, etc).
Any ideas?
Are you using shared hosting? Many times the web server and database server are different. If this is the case you wouldn't use localhost.
WebRudder.com Support Team
Business Class OpenCart hosting in the cloud at: http://www.WebRudder.com
FREE basic OpenCart install when you sign-up for a Small Business, Business, or Enterprise hosting plan
Thank you Daniel. I'm on virtual dedicated hosting though so I'm not sharing with anyone.Daniel wrote:do you have a control panel?
if so look at exactly what the username and db name is. normally if its shared it will have a prefix on the username and database.
I ended up reinstalling and trying a new password and discovered it's that OpenCart doesn't allow special characters like >$ in the password for the mysql database. Which is really a shame since special characters are often a great idea in order to increase password security.
Is this rectified in v1.3.3 or are special characters in the mysql password still an issue for OpenCart?
I can confirm the same issue on 1.3.4. I had an ampersand in my db users password which was resulting in the same could not connect issue during the installation. I have created a new user without the & in the password and it works now.
Who is online
Users browsing this forum: No registered users and 13 guests