Answer the question
In order to leave comments, you need to log in
Karauul, site transfer to hosting?
Hello! Help the young, uneducated.
This is my first time doing this so don't judge too harshly.
I'm trying to transfer a Drupal site to a hosting.
1. Dumped the database (export via phpmyadmin).
2. Added the entire site to the archive (with the core and with everything).
3. On the hosting, before in the created database, I go to phpmyadmin and import the database.
4. I upload the archive to the server in the folder with the site, extract it.
5. Already on the server I go to sites/defaults/setting.php and change the settings in the database (name, username, password)
6. I go to the site address in the browser and I get this error
Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in /sata2/home/users/olski/www/www.olski.com .ua/includes/database/database.inc on line 307
Another screen
Please explain what this error is and where I omitted something.
Maybe a server side issue? Thank you very
much
in advance !
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question