IT Information Technology

ERROR 2002 (HY000): Can’t connect to local server through socket ‘/run/mysqld/mysqld.sock’ (2) (FIX)

Error ERROR 2002 (HY000): Can’t connect to local server through socket ‘/run/mysqld/mysqld.sock’ (2) FIX sudo apt-get install mysql-server Stop mysql sudo /etc/init.d/mysql stop Or for other distribution versions: sudo /etc/init.d/mysqld stop Start MySQL in safe mode sudo mysqld_safe –skip-grant-tables & Log into MySQL using root mysql -u root Select the MySQL database to use use mysql;

Remote Desktop on Colab Google

!python3 -m pip install notebook !wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz !tar -xvf ngrok-v3-stable-linux-amd64.tgz —————————————————————————- ngrok Api Token https://dashboard.ngrok.com/ —————————————————————————- !./ngrok authtoken 2cfB9NhaTOH7vSNfWnteSUd48IM_3PV4ieVyEQiehafJe6D1R !./ngrok http 8888 & python3 -m notebook –allow-root ———————————————————————————— https://remotedesktop.google.com/ Setup via SSH Debian LinuxDebian Linux copy and add to CRP=”” ———————————————————————————– import os username = “user” #@param {type:”string”} password = “root” #@param {type:”string”} print(“Creating User

install Ubuntu 22.04 in Replit

install Ubuntu 22.04 in replit Bash script   #!/bin/sh ROOTFS_DIR=/home/runner export PATH=$PATH:~/.local/usr/bin max_retries=50 timeout=1 ARCH=$(uname -m) case $ARCH in x86_64) ARCH_ALT=amd64 ;; aarch64) ARCH_ALT=arm64 ;; *) echo “Unsupported CPU architecture: $ARCH” exit 1 ;; esac if [ ! -e $ROOTFS_DIR/.installed ]; then echo “Choose OS:” echo “0) Debian” echo “1) Ubuntu (RDP Support)” echo “2)

en_USEnglish
👁
🚀 تنقل سريع
IT IT