{"id":7509,"date":"2022-06-16T22:32:48","date_gmt":"2022-06-17T03:32:48","guid":{"rendered":"https:\/\/abudinen.com\/blog\/?p=7509"},"modified":"2022-10-15T17:57:07","modified_gmt":"2022-10-15T22:57:07","slug":"linux-sql","status":"publish","type":"post","link":"https:\/\/abudinen.com\/blog\/2022\/06\/16\/linux-sql\/","title":{"rendered":"Linux sql"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Can&#8217;t connect to local MySQL server through socket &#8216;\/var\/run\/mysqld\/mysqld.sock&#8217; https:\/\/stackoverflow.com\/questions\/37365470\/2002-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo -i\n# sudo apt-get remove --purge mysql\\* \n# cp -R \/var\/lib\/mysql \/home\/user\/backup\n# sudo rm -rf \/var\/lib\/mysql\/\n# sudo rm -rf \/etc\/mysql\n# sudo apt-get autoremove\n# sudo apt-get autoclean\n# sudo apt-get install mysql-server php5-mysql<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Login at root from the CLI: https:\/\/stackoverflow.com\/questions\/61430362\/ubuntu-20-04-set-mysql-phpmyadmin-root-password<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mysql -u root -p\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ALTER USER 'root'@'localhost' IDENTIFIED BY '&lt;New-Password-Here&gt;';\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">To Really Get Things Working<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.phpmyadmin.net\/files\/5.0.2\/\" rel=\"noopener nofollow\">From phpmyadmin.net<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Due to changes in the MySQL authentication method, PHP versions prior to 7.4 are unable to authenticate to a MySQL 8.0 blah <em>blah blah blah<\/em> <a href=\"https:\/\/bugs.php.net\/bug.php?id=76243\" rel=\"noopener nofollow\">https:\/\/bugs.php.net\/bug.php?id=76243<\/a>.<\/p><p>There is a workaround, that is to set your user account to use the current-style password hash method, mysql_native_password. <strong>This unfortunate lack of coordination has caused the incompatibility to affect all PHP applications, not just phpMyAdmin.<\/strong><\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">So<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>UPDATE user SET plugin=\"mysql_native_password\" WHERE user='root';\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">To Really Really Get Things Working&#8230; Really<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MySQL Have changed their Security Model and <strong>root login now requires a sudo<\/strong>. This is ok for the CLI, but it means that <strong>PhpMyAdmin and ALL other clients will not be able to use root credentials<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The best solution is to create a new user for PhpMyAdmin (or use the existing one if it was created during install) and grant it the required privileges.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE USER 'phpmyadmin'@'localhost' IDENTIFIED BY '&lt;New-Password-Here&gt;';\nGRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'localhost' WITH GRANT OPTION;\nFLUSH PRIVILEGES;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use this user anywhere you want <em>&#8220;root&#8221;<\/em> access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/askubuntu.com\/questions\/1013955\/how-remove-or-reset-mysql-password<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Open your terminal<\/li><li><code>sudo mysql -u root<\/code><\/li><li><code>use mysql;<\/code><\/li><li><code>SELECT user, plugin FROM user;<\/code><\/li><li><code>UPDATE user SET plugin = \"mysql_native_password\" WHERE user = \"root\" ;<\/code><\/li><li><code>SELECT user, plugin FROM user;<\/code><\/li><li><code>exit<\/code><\/li><li><code>service mysql restart<\/code><\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">mysql &#8211;user=root &#8211;password=mypass<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mysql -u user -ppassword<br>password should not have any space with -p<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REVIEW https:\/\/linuxhint.com\/change-mysql-root-password-ubuntu\/<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"f79a\">How to Install LAMP stack on Ubuntu<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7841\">Installing the popular open-source software on your computer<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/1000\/1*QGnucqyXckUOpMQrgkN48A.jpeg\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"7f9a\">A LAMP Stack is a set of open-source software that can be used to create websites and web applications. LAMP is an acronym: these stacks typically consist of the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language. https:\/\/betterprogramming.pub\/how-to-install-lamp-stack-on-ubuntu-db77ac018116<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"94e2\">To install LAMP on your computer follow these steps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"99a5\"><strong>Step 1: Update your system<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"68b5\"><code>sudo apt-get update<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1ed5\"><strong>Step 2: Install Mysql<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"6973\"><code>sudo apt-get install mysql-server mysql-client libmysqlclient-dev<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6421\"><strong>Step 3: Install Apache server<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"3fde\"><mark><code>sudo <a target=\"_blank\" href=\"https:\/\/www.youtube.com\/results?search_query=%23apt\" rel=\"noreferrer noopener nofollow\">apt<\/a>-get install apache2 apache2-doc <s>apache2-npm-prefork<\/s> apache2-utils libexpat1 ssl-cert<\/code><\/mark><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6097\"><strong>Step 4: Install PHP (php8.1 latest version of PHP)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"723c\"><code><em>sudo apt-get install libapache2-mod-php8.1 php8.1 php8.1-common php8.1-curl php8.1-dev php8.1-gd php-pear php-imagick php8.1-mcrypt php8.1-mysql php8.1-ps php8.1-xsl<\/em><\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"dae3\"><strong>Step 5: Install Phpmyadmin(for database)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"fb74\"><code>sudo apt-get install phpmyadmin<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">tasksel<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install PHP mcrypt extension on Ubuntu<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$<mark> sudo apt update<\/mark>\n$ <mark>sudo apt install php-mcrypt<\/mark>\nReading package lists... Done\nBuilding dependency tree       \nReading state information... Done\nPackage php-mcrypt is not available, but is referred to by another package.\nThis may mean that the package is missing, has been obsoleted, or\nis only available from another source\n\n<mark>E: Package 'php-mcrypt' has no installation candidate<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y build-essential<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>$<mark>gcc --version<\/mark>\ngcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0\nCopyright (C) 2019 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions.  There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n$ <mark>make --version<\/mark>\nGNU Make 4.2.1\nBuilt for x86_64-pc-linux-gnu\nCopyright (C) 1988-2016 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install php php-pear php-dev libmcrypt-dev<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>$<mark> which pecl <\/mark>\n\/usr\/bin\/pecl<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">PECL usage:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark>pecl help<\/mark>\nCommands:\nbuild                  Build an Extension From C Source\nbundle                 Unpacks a Pecl Package\nchannel-add            Add a Channel\nchannel-alias          Specify an alias to a channel name\nchannel-delete         Remove a Channel From the List\nchannel-discover       Initialize a Channel from its server\nchannel-info           Retrieve Information on a Channel\nchannel-login          Connects and authenticates to remote channel server\nchannel-logout         Logs out from the remote channel server\nchannel-update         Update an Existing Channel\nclear-cache            Clear Web Services Cache\nconfig-create          Create a Default configuration file\nconfig-get             Show One Setting\nconfig-help            Show Information About Setting\nconfig-set             Change Setting\nconfig-show            Show All Settings\nconvert                Convert a package.xml 1.0 to package.xml 2.0 format\ncvsdiff                Run a \"cvs diff\" for all files in a package\ncvstag                 Set CVS Release Tag\ndownload               Download Package\ndownload-all           Downloads each available package from the default channel\ninfo                   Display information about a package\ninstall                Install Package\nlist                   List Installed Packages In The Default Channel\nlist-all               List All Packages\nlist-channels          List Available Channels\nlist-files             List Files In Installed Package\nlist-upgrades          List Available Upgrades\nlogin                  Connects and authenticates to remote server &#91;Deprecated in favor of channel-login]\nlogout                 Logs out from the remote server &#91;Deprecated in favor of channel-logout]\nmakerpm                Builds an RPM spec file from a PEAR package\npackage                Build Package\npackage-dependencies   Show package dependencies\npackage-validate       Validate Package Consistency\npickle                 Build PECL Package\nremote-info            Information About Remote Packages\nremote-list            List Remote Packages\nrun-scripts            Run Post-Install Scripts bundled with a package\nrun-tests              Run Regression Tests\nsearch                 Search remote package database\nshell-test             Shell Script Test\nsign                   Sign a package distribution file\nsvntag                 Set SVN Release Tag\nuninstall              Un-install Package\nupdate-channels        Update the Channel List\nupgrade                Upgrade Package\nupgrade-all            Upgrade All Packages &#91;Deprecated in favor of calling upgrade with no parameters]\nUsage: pecl &#91;options] command &#91;command-options] &lt;parameters&gt;\nType \"pecl help options\" to list all options.\nType \"pecl help shortcuts\" to list all command shortcuts.\nType \"pecl help version\" or \"pecl version\" to list version information.\nType \"pecl help &lt;command&gt;\" to get the help for the specified command.<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>$<mark>sudo pecl channel-update pecl.php.net<\/mark>\nUpdating channel \"pecl.php.net\"\nUpdate of Channel \"pecl.php.net\" succeeded\n\n$<mark> sudo pecl update-channels<\/mark>\nUpdating channel \"doc.php.net\"\nUpdate of Channel \"doc.php.net\" succeeded\nUpdating channel \"pear.php.net\"\nUpdate of Channel \"pear.php.net\" succeeded\nUpdating channel \"pecl.php.net\"\nChannel \"pecl.php.net\" is up to date<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s search for <em>mcrypt<\/em> extension.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark>sudo pecl search mcrypt<\/mark>\nMatched packages, channel pecl.php.net:\n=======================================\nPackage       Stable\/(Latest) Local\nmcrypt        1.0.4 (stable)        Bindings for the libmcrypt library\nmcrypt_filter 0.1.0 (beta)          Applies mcrypt symmetric encryption using stream filters<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can the install mcrypt extension using <em>pecl<\/em> command with install option.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>$ <\/strong><mark>sudo pecl install mcrypt<\/mark>\ndownloading mcrypt-1.0.4.tgz ...\nStarting to download mcrypt-1.0.4.tgz (27,056 bytes)\n.........done: 27,056 bytes\n6 source files, building\nrunning: phpize\nConfiguring for:\nPHP Api Version:         20190902\nZend Module Api No:      20190902\nZend Extension Api No:   320190902\n........<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">When you see a prompt<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>libmcrypt prefix? &#91;autodetect] :<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Press <strong>Enter<\/strong> to autodetect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should get an output like below for completed installation of <em>mcrypt<\/em> extension on Ubuntu Linux machine.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Build process completed successfully\nInstalling '\/usr\/lib\/php\/20190902\/mcrypt.so'\ninstall ok: channel:\/\/pecl.php.net\/mcrypt-1.0.4\nconfiguration option \"php_ini\" is not set to php.ini location\nYou should add \"extension=mcrypt.so\" to php.ini<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enable extension in <em>php.ini <\/em>file. You can use <code>nano<\/code> or <code>vim<\/code> editor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark>sudo vim \/etc\/php\/*\/cli\/php.ini<\/mark>\nextension=mcrypt.so\n\n$ <mark>sudo vim \/etc\/php\/*\/apache2\/php.ini<\/mark>\nextension=mcrypt.so<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can confirm that the module was installed and enabled with the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ <mark>php -m | grep mcrypt<\/mark>\nmcrypt<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><em><mark>### Restart Apache web server ###\n<\/mark><\/em>sudo systemctl restart apache2\n\n<em><mark>### Restart nginx web server ###\n<\/mark><\/em>sudo systemctl restart nginx<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Can&#8217;t connect to local MySQL server through socket &#8216;\/var\/run\/mysqld\/mysqld.sock&#8217; https:\/\/stackoverflow.com\/questions\/37365470\/2002-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq Login at root from the CLI: https:\/\/stackoverflow.com\/questions\/61430362\/ubuntu-20-04-set-mysql-phpmyadmin-root-password Then To Really Get Things Working From phpmyadmin.net Due to changes in the MySQL authentication &#8230; <a title=\"Linux sql\" class=\"read-more\" href=\"https:\/\/abudinen.com\/blog\/2022\/06\/16\/linux-sql\/\" aria-label=\"Read more about Linux sql\">Leer m\u00e1s<\/a><\/p>\n<p class=\"social-share asbm-share-block\"><strong class=\"asbm-share-title\">Sharing is caring<\/strong><a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--facebook\" aria-label=\"Compartir en Facebook\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647z\"\/><\/svg><span class=\"asbm-share__label\">Facebook<\/span><\/a><a href=\"https:\/\/twitter.com\/intent\/tweet?text=Linux%20sql&#038;url=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--twitter\" aria-label=\"Compartir en X \/ Twitter\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z\"\/><\/svg><span class=\"asbm-share__label\">X \/ Twitter<\/span><\/a><a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--linkedin\" aria-label=\"Compartir en LinkedIn\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.063 2.063 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"\/><\/svg><span class=\"asbm-share__label\">LinkedIn<\/span><\/a><a href=\"https:\/\/wa.me\/?text=Linux%20sql%20https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--whatsapp\" aria-label=\"Compartir en WhatsApp\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347M12.05 21.785h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z\"\/><\/svg><span class=\"asbm-share__label\">WhatsApp<\/span><\/a><a href=\"https:\/\/t.me\/share\/url?url=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F&#038;text=Linux%20sql\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--telegram\" aria-label=\"Compartir en Telegram\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z\"\/><\/svg><span class=\"asbm-share__label\">Telegram<\/span><\/a><a href=\"https:\/\/reddit.com\/submit?url=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F&#038;title=Linux%20sql\" target=\"_blank\" rel=\"noopener\" class=\"asbm-share asbm-share--reddit\" aria-label=\"Compartir en Reddit\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z\"\/><\/svg><span class=\"asbm-share__label\">Reddit<\/span><\/a><a href=\"mailto:?subject=Linux%20sql&#038;body=https%3A%2F%2Fabudinen.com%2Fblog%2F2022%2F06%2F16%2Flinux-sql%2F\" class=\"asbm-share asbm-share--email\" aria-label=\"Compartir en Email\"><svg viewBox=\"0 0 24 24\" width=\"18\" height=\"18\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"\/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"\/><\/svg><span class=\"asbm-share__label\">Email<\/span><\/a><span class=\"asbm-share-meta\">1250 words \u00b7 146 views<\/span><\/p>","protected":false},"author":1,"featured_media":7510,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7509","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sin-categoria"],"_links":{"self":[{"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/posts\/7509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/comments?post=7509"}],"version-history":[{"count":3,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/posts\/7509\/revisions"}],"predecessor-version":[{"id":7605,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/posts\/7509\/revisions\/7605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/media\/7510"}],"wp:attachment":[{"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/media?parent=7509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/categories?post=7509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abudinen.com\/blog\/wp-json\/wp\/v2\/tags?post=7509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}