Solapas principales
Sep
16
2012
The usual workaround suggested is to change the 'host' setting in your settings.php. Before the change, it looks something like this (in D7: D6 is analogous but uses $db_url = 'mysql://username:password@localhost/databasename';):
$databases = array ( [...] 'database' => 'yourdatabase', 'username' => 'yourusername', 'password' => 'yourpassword', 'host' => 'localhost', [...]
MySQL treats 'localhost' specially, and uses the Unix socket instead of a network socket. If you change the 'host' to 127.0.0.1:
'host' => '127.0.0.1'
a continuación, MySQL siempre utiliza un socket de red, y drush funcionará. Sin embargo, esta no es la mejor idea, porque es más eficiente utilizar el socket de Unix (que he visto puntos de referencia de 6-10% más rápido).
- Inicie sesión o regístrese para comentar
- 3378 lecturas
Contenido por etiquetas
Linux
Linux Tips
Solución
Linux Help
Drupal
Arch-Linux
Media Front
Terminal
Hacking
Shell
Videos
Linux seguridad
Manjaro
Mac OSX
Servers
Linux-Distro
Consola
Linux Guías
Comandos
Android
Screencast
Ubuntu
Drush
Windows
MacOS
Joomla
Backtrack
Command Line
Cracking
Debian
Xampp
Compiz Fusion
Seguridad
Drupal 7
Skype
Instalación
Media Youtube
Telefonía
Virtualmin
ROOT
Servidor Local
Antergos
CyanogenMod
KDE
Elastix
Server
Sysmonitor
ClamAv
error
Samba
Descargar
ownCloud
Webmin
Escritorio
Libros
PDF
Joomla Seguridad
Setup
Kali Linux
Drush_Make
Views
Grub
Nivo Slider
Líder
Whatsapp
Kali
SCP
SSH
Unix
Noticias
Xampp 1.8.1
mysql
Asterisk
dd
PHP
servidor web
Boot
Chrome
Virtual
Rootear
Top 500
ROM
Youtube
url Limpias
Drush Windows
Katana
apache
Metasploit
red
url canonica
Iphone
Joomla 3.0
XFCE
Centos
Distros
SEO
Galaxy S
DARKY´S ROM
(bootstrap)
exec: 90: : Permission denied
Open DNS
Conky
CryptKeeper
LPS
Metasploitable
Rarcrack
TinyMCE
CKEditor
.make
Wake On Lan
Wol
Drupal 8
Streaming
Atraci
Tails
Telegram
Sigram
duff
Fish
ncdu
Galaxy S4
PBX
Códec
Imagesloaded
String
htaccess
SA-CORE-2013-003
Gimp
Prestashop
Papá
FINK
youtube-dl
g729
Sox
Viber
VMplayer
Real Estate
Galaxy S3 vs Iphone 5
Webform Layout
Horizontal Slider
Media Vimeo
Acquia
Tilt 3D
fruteroloco
scanner
bmon
pipenv
Inyection SQL
Python
Homebrew
Mounty
Java6
Windows 10
MS-SQL
SQL
Kingsoft Office
WPS
MediaFront
1and1
Django
IMCE
Redgum
Secure Copy
sniffing
Script
Google-Earth
Arranque
compartir
firewall
sistema
bitacora
fallo
firestarter
Cain & Abel
Supercomputadoras
Office
gh22ns50
grep
GCP
Driver r8168
Triple-Boot
Webform_Layout
Webform
Views Horizontal Slider
Xwinwrap
dselect
winAUTOPWN
Archserver
LAMP
Munich
Shutter
Alsi
Encriptar
Enlaces Externos
Nube
Joomla 2.5
FTP
Wine
Line
Redes
Fing
Aircrack-ng
Overlook Fing
internal server error 500
Cerebro
FDesktopRecorder
Piropos Geek
Texto
Sustituir
Jdownloader
10 Millones
Ahorra
Migrar
PhpMyadmin
Recovery