Hi,
I've been reading across the forums this morning and tried several of the suggestions I've seen but without luck, so creating my first post in the hope someone can assist me.
Background: I am quite web savvy but I've never used Prestashop until this morning. A friend of mines wants to move his hosting to another host, he's asked me to help. We have the Prestashop backup and the full sql data.
Rather than install Prestashop using Installatron on CPANEL then try to fit this in, here's the steps I done.
In CPANEL
1. Created a MySQL Database
2. Created a User
3. Assigned a Password
4. Granted User access to Database (granted all permissions)
In PHPMyAdmin
1. Imported the given SQL (was 60mb) so needed to break it down into 4 loads, but everything is loaded.
In FTP
1. Uploaded the site content into /public_html/
In Settings.inc.php
1. changed - define('_DB_SERVER_', 'localhost');
2. changed - define('_DB_NAME_', 'bagpipe_prestanew');
3. changed - define('_DB_USER_', 'bagpipe_thenameofmyuser');
4. changed - define('_DB_PASSWD_', 'thepasswordofmyuser');
I think that should be me done according to what I've read, but whenever I try to load the page I get an error:
Link to database cannot be established: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
I'm unsure what to try now, here's a copy of the exact settings.inc.php that was in the backup set before I changed the above:
<?php
define('_DB_SERVER_', '');
define('_DB_NAME_', ‘’);
define('_DB_USER_', '');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'MyISAM');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_MEDIA_SERVER_1_', '');
define('_MEDIA_SERVER_2_', '');
define('_MEDIA_SERVER_3_', '');
define('_COOKIE_KEY_', 'sxgbCRDzoDE9MNI1aikv2ICjaPgy5K2xss6YHvvBCMbAznzIIRdhNj4z');
define('_COOKIE_IV_', 'IR6KiouP');
define('_PS_CREATION_DATE_', '2014-01-30');
define('_PS_VERSION_', '1.5.6.2');
define('_PS_DIRECTORY_', '/');
Now I spotted TWO things I didn't think were correct in this file the quoting on that DB_NAME ‘’ versus '' and there was no ?> to close the php.
So, I've fixed those and used the new DB connection lines shown above, but no joys. The same error.
I'm slightly confused when I look at the DB tables that I've imported some are type MyISAM and some are type InnoDB, I can only assume that's correct?
The only thing I can add here that I think could be causing an issue, is at this moment we haven't transferred the domain name that the Prestashop was previously on over, I'm building this on the IP URL http://xx.xx.xx.xx/~bagpipe/
I don't think that should stop me seeing something and making a database connection though.
Any help or suggestions from anyone would be very welcome
Thanks in advance
Jason