2022-01-01ãã1å¹´éã®è¨äºä¸è¦§
www.web-dev-qa-db-ja.com
ãããåèã«ãããzenn.dev ãªããapt get updateã§æãããã®ã§ããã®githubã®issueã®ã¨ããã«ãã£ããgithub.comãªããããããããªããã©ã sudo docker run --rm --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi ããã¾ãåããã®ã§ãããâ¦
ãªããããã«ã£ã¡ããã£ã¡ããããªããªã£ãã®ã§ãåã¤ã³ã¹ãã¼ã«ãããã¨ã«ãããåé¤ã qiita.comMySQLãæ¢ã¾ã£ã¦ãªãã£ããã§æ¶ããªãã£ãã $ sudo apt-get remove --purge mysql-server* mysql-common Reading package lists... Done Building dependencâ¦
DBã«èµ·åã§ããªãã®ã¯/var/log/mysql/ã®æ¨©éå¨ãã®åé¡ã ã£ãããããªãåºããã $ mysql -u root -p Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)ã¨æã£ããããã®DBãã¹ã¯ã¼ãããã¦ãªãããã â¦
MySQLãdockerã®ã³ã³ããããã¢ã¯ã»ã¹ãããã¨ãã¦ãè²ã ãã£ã¦MySQLãåèµ·åãããèµ·åããªããªã£ãã ã¨ããããlogãè¦ããã¨ãå¦ãã ã $ service mysql start * Starting MySQL database server mysqld su: Authentication failure $ tail /var/log/mysâ¦
outputable.com outputable.com
awesome-linus.com
ãã®éãã«ãã£ã¦ã¿ããåããã®ã§ãããoutputable.com
ãªããã³ã³ããã®å¤ã«DBç«ã¦ã¦ãããã«ã³ã³ããããã¤ãªããã¨æã£ã¦ãããé¢åãªã®ã§ãããããã£ã¡ã§ãããqiita.com ã¡ãªã¿ã«ãã³ã³ããããã³ã³ããã®å¤ã®DBã«ã¤ãªãã¨ãã¯ããããªæããqiita.com gist.github.com
ãªããããWSLã®ç°å¢ãã¨ã£æ£ããã£ãã®ã§ãWSLãä¸åæ¶ãã¦åã¤ã³ã¹ãã¼ã«ãããqiita.comzenn.devari23.hatenablog.comarkane-systems.github.ioæè¿ã¯ > wsl --install -d Ubuntu-20.04 ã£ã¦powershellã§æã¤ã ãã§åã¤ã³ã¹ãã¼ã«ã§ããã®ã§ä¾¿å©ãgenieã¯â¦
WSL2ãUbuntu22.04LTSã«ããããgenieãå ¥ããããªãã®ã§ãstackoverflowã¨ã調ã¹ã¦è²ã ãã£ããzenn.devåã®å ´åã¯libffiããªãã£ã¦è¨ãããã®ã§ãpyenvã§pythonãå ¥ããªããããUbuntu 20.04 upgrade, Python missing libffi.so.6 - Stack Overflowçµå±ãâ¦
WSL2ã§Ubuntuã®18/04LTSã使ã£ã¦ããã®ã ãããããã«å¤ãããã®ã§22.02LTSã使ããã¨ã«ããã ãã¨ãWSLã§ãã¼ã«ã«DBä½ã£ã¦éç¨ããã®ã¯è³é£ã®æ¥ã§ãããã¨ãåãã£ãã®ã§ç ã£ã¦ãã©ãºãã¤ãDBãµã¼ãã«ãããã¨ã«ããã MySQLãPostgresããªããã¨ããããâ¦
WSL2ã§MySQLããããããã¦ã¦systemctlãåãããã¨ãããåããªãã¦ãã¾ã£ãã®ã§ãsnowsystem.net
ãã¼ã«ã«ã«MySQLãã¦ã¦ãSQLAlchemyã§ä½ã£ãã¢ãã«ã¨ããå ¥ã£ã¦ãã³ã³ããããDBã«ã¢ã¯ã»ã¹ããã¨ãããªã¨ã©ã¼ãã§ãã ã¡ãªã¿ã«ãã³ã³ããã®å¤ããã ã¨ãããã E sqlalchemy.exc.OperationalError: (MySQLdb.OperationalError) (2002, "Can't connect to lâ¦
zenn.dev
WSL㧠$ sudo apt install mysql-server mysql-client ã§MySQLãã¤ã³ã¹ãã¼ã«ãã¦ãèµ·åãããã¨ããã¨ã $ sudo mysql_secure_installation Securing the MySQL server deployment. Enter password for user root: Error: Can't connect to local MySQL serâ¦
t.co t.co
åèã«ããã㤠kamino.hatenablog.comqiita.com åæã«ãªãç¥è Cè¨èªã«ãããincludeæã¨gcc -Iãªãã·ã§ã³ã®é¢ä¿ - Qiitazenn.dev CPPUTestãcmakeã§ä½¿ããã¨ããããã£ã¡è¦ããããã£ããã github.com