A
A
Andrew2015-05-10 16:19:09
Drupal
Andrew, 2015-05-10 16:19:09

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
4a3fdbf775ae4c95af69c37f32f9d7ca.png
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

1 answer(s)
I
index0h, 2015-05-10
@index0h

You have it written in red on pink: database connection error, unix:///tmp/mysql.sock not found
Set up correct access to the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question