Connection refused telnet mysql 1 dev eth0 proto kernel The default IP on the output is the gateway. Mar 30, 2018 · (110) telnetでも telnet xxx. Jun 12, 2017 · 本文详细记录了是如何一步一步排查问题的。 正文1. 6k 阅读 May 20, 2022 · ip route default via 172. 0 as evident below: root@localhost:~# netstat -pl Getting 'Connection refused' errors when connecting to localhost? Learn how to diagnose and fix connection refused issues for development environments. The server also has mysql-server installed but I would like to manage it through mysql work Nov 9, 2009 · Caused by: com. If after confirming the credentials you're still having issues accessing a MySQL database, you can use Telnet to further test the connection. I am wondering if anyone has some light they can shed on this, because I'm at a loss. May 10, 2024 · Ubuntu远程连接MySQL (connection refused)解决方法 转载 最新推荐文章于 2024-05-10 11:39:13 发布 · 7. You can troubleshoot by trying to telnet to the SQL server's host and port. Your feedback is invaluable B. CommunicationsException: Communications link failure The last packet successfully received from the server was 1,257,784,273,741 milliseconds ago. Jul 28, 2012 · Error: getaddrinfo ENOENT issue come in different case. Dec 12, 2021 · I keep getting connection refused when I try to use telnet or ssh or any other means. 654 with enabled CSF firewall on Debian 11. Feb 19, 2016 · You said "trying to connect to RDS from my vps" so I assumed its Amazon RDS and not MySQL instance on an EC2. 4 from a. It then tried by IP address and succeeded. 4, new MySQL user has been created on 1. 1 telnet: Unable to connect to remote host: Connection timed o Aug 2, 2022 · For additional information if you are unable to connect, see Section 8. Gain insights into common problems and solutions for a seamless database experience. Apr 17, 2012 · I'm trying to connect to mysql server installed on my computer. Run the following command from your local machine: telnet <EC2-instance-IP> 3306. Mar 4, 2014 · I am running mysql in a debian linux system that runs on a vm over Windows 7. 0. createPool ( { connectionLimit : 100, //important host : 'localhost', user : 'me', password : 'me', database : 'test', debug : false }); 2: connect network cable it is work fine. jdbc. 4 for remote IP a. I've gone through a lot of tutorials and questions and I still can't get it to work. As you can see, MySQL daemon is running and listening on port 3306 and ALL ports are open for the security group [for troubleshooting] and I can telnet to port 3306 on localhost from the VM. Those were all the tips and configurations I found on existing solutions of this problem. ) Cannot connect to mysql server that is running w/in WSL2 with Mysql client HeidiSQL MySQL连接出问题:使用远程IP连接本地主机时,mysql报错“连接被拒绝” 在进行数据库开发过程中,经常需要在本地主机上安装MySQL并连接至其它主机的MySQL服务。 You connect to the port exposed by the virtual server to the outside; the server then tries to forward the connection to a target; the target refuses. This blog will walk you through opening port 3306 in `iptables` on Debian, verifying the configuration, and troubleshooting Telnet connection issues from a Windows 7 VM. Dec 27, 2023 · @RickJames. 22. 99: Connection refused telnet: Unable to connect to remote host: Connection refused On the MySQL server: # netstat -na | grep 3306 tcp 0 0 127. Although counter-intuitive, unused ports refuse connections and in-use ports 'listen to' and accept connections. When I enter "telnet localhost 3306", I get some garbage characters meaning that I'm connected to the server. I suspect that the two identities have been changed in some config file. cnf` and turned off the firewall but it doesn't work. com). I can already use MySQL fine with remote@ [Server A IP] on Server A, but I am having trouble accessing that u This is a Canonical Question about Connection Refused We see a lot of questions to the effect When I try to connect to a system I get a message Connection refused Why is this ? When you attempt to connect to an Amazon RDS DB instance, you might encounter common issues that prevent successful connections. Audit Python Code: Double-check host, port, database name, and SSL settings in your connection string. I'm not using the config app. 1, 192. When I try to connect to that same database from an external machine, it works without any proble Nov 10, 2021 · I m able to telnet locally to mysql process like below: I have also made sure MySQL process is listening on all IPs by setting bind-address = 0. 2. 1 1433 but I got following message: Aug 2, 2019 · What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. We could also test the connection using telnet as such, and the connection should not be refused. I don't know postfix but I Aug 15, 2024 · Learn effective solutions to troubleshoot and fix MySQL client-side connection problems, ensuring seamless database access and improved performance. I checked the MySQL server accessibility on the server itself via its remote IP, my local computer and from another external server. c. xxx 3306 が telnet: Unable to connect to remote host: Connection timed out と、接続できないため、ポート周りかと思うのですが、原因・対策がわかりません。 行ったことは以下の通りです。 MySQLユーザhogeの接続許可設定確認 Aug 27, 2016 · I've had my app running on localhost port 80 via nginx on my mac for quite awhile. Sep 25, 2017 · I am trying to connect to Server A (Ubuntu 16. The server also has mysql-server installed but I would like to manage it through mysql work A "Connection refused" message from telnet indicates a network or firewall issue, or that MariaDB is not listening for TCP/IP connections or on that specific interface/port. All show the above mentioned "Connection refused" via telnet and when trying to connect via the mysql command. A Unix socket file is used if you Sep 8, 2016 · My understanding is that telnet just makes a connection to a server, once the connection is made you then have to negotiate the authorization and such. 1:3306: connect: connection refused error in MySQL. example. Possibly mysqld only binds to the loopback interface. 0 in my. If that doesn't work, check on the SQL server itself. Aug 27, 2016 · I've had my app running on localhost port 80 via nginx on my mac for quite awhile. 2 Can't connect to [local] MySQL server A MySQL client on Unix can connect to the mysqld server in two different ways: By using a Unix socket file to connect through a file in the file system (default /tmp/mysql. 查看tcp端口是否开启 netstat_mysql connection refused: no further information Your host is wrong, your port is wrong, a firewall blocked the connection, or the SQL server is not running. Jul 3, 2005 · I'm able to access the database via a local PHPMyAdmin, and I'm also able to get a prompt via telnet from another machine on the LAN, so a firewall is not the issue. Mar 23, 2015 · If you can telnet to your server IP/port and get connected: $ telnet your_server_ip 3306 This means that mysql server is running and accepting connections on the specified IP. com try using the server's actual hostname (like host#. Nov 26, 2021 · I have configured in `my. - telnet port 3306 on localhost works - telnet port 3306 on remote; connection refused - ip address is whitelisted in firewall - waf is off / fail2ban off /firewall off ss -tuln | grep 3306 tcp LISTEN 0 80 *:3306 *:* ps aux | grep mysql mysql 1635835 0. This IP address should be used on the connection string, or host value, for the application. mysql. Dec 17, 2020 · Hi, hoping to get some help. 5 1754576 Mar 16, 2015 · I have disabled the firewall on that remote system, I have added the bind address to 0. I'm having a strange problem connecting to a remote MySQL server. cnf file of mysql in the remote system. I have modified iptables to accept connections from anywhere over port 3306 - but I can't do a telnet to it from Windows. . strace -f some_command some_args, and link the contents of some_command. What is Telnet? Telnet is a network protocol that allows users to communicate with remote devices via text-based commands. Jul 23, 2025 · Learn how to install, configure, and use Telnet on Linux for testing ports, troubleshooting network issues, and interacting with remote services. g. Sep 22, 2015 · MySQL Server doesn't actually speak telnet, but you can connect with it for testing and see the semi-human-readable handshake packet, including the server version. Oct 24, 2025 · To test the connection to your database, run the telnet hostname port on your Looker server. 1 telnet: Unable to connect to remote host: Connection timed o Oct 12, 2023 · When I try to test with Telnet site. Unfortunately it seems that WSL cannot reach the MySQL server: $ /mnt/c/Program\\ Files/MySQL/MySQL\\ Server\\ 5 Why not just stick with HTML5? I like eve-ng to load securecrt with multi-tabs and the only way to get that to work is with the client side pack + HTML5 Edit: Correction, to use securecrt you need to install client pack and set your telnet default app in windows, then login to eve-ng using 'native console'. Dec 15, 2022 · MariaDB is installed on server with IP 1. Learn how to fix the panic: dial tcp 127. Edit the my. A Unix socket file connection is faster than TCP/IP, but can be used only when connecting to a server on the same computer. We can access from othe Why not just stick with HTML5? I like eve-ng to load securecrt with multi-tabs and the only way to get that to work is with the client side pack + HTML5 Edit: Correction, to use securecrt you need to install client pack and set your telnet default app in windows, then login to eve-ng using 'native console'. 1 telnet: connect to address 127. On the host machine, if I type: telnet <VM IP Address> <MySQL port number> I get the following error message: telnet: Unable to connect to remote host: Connection refused What have I missed out in the configuration? Oct 22, 2019 · I have set the network adaptor in this VM to Bridged Adaptor. On the host machine, if I type: telnet <VM IP Address> <MySQL port number> I get the following error message: telnet: Unable to connect to remote host: Connection refused What have I missed out in the configuration? Aug 2, 2022 · For additional information if you are unable to connect, see Section 8. strace in a gist here). jdbc4. I have tested my connection with Telnet and it was successfully connect to my MySQL server IP, but my program can't make the remote connection to the MySQL server machine. Aug 10, 2024 · Linux 系统中 MySQL 端口号 Telnet不通的排查与解决 在日常的Linux系统管理中,MySQL数据库是非常常见的一种数据库选择。许多用户在配置或操作MySQL时可能会遇到一个常见问题:使用 telnet 命令无法连接到MySQL的端口。这种情况下,通常需要排查端口、网络和MySQL服务本身。本文将详细介绍这一问题的排查 Jun 12, 2017 · 本文详细记录了是如何一步一步排查问题的。 正文1. This connection means that user authentication to the database causes this issue, such as an issue with the username or password. cnf and restart MySQL. If either the telnet or nc commands succeed, then a network connection was established. May 18, 2017 · Why can't I connect to the mysql server? On the same server an Apache/PHP server is running and it connects without problems!? Oct 25, 2023 · That's what I'd expect to see - you're connecting to the MySQL server's port and the MySQL server is attempting to negotiate with what it thinks is a connection attempt from a MySQL client. However, telnet isn't a MySQL client, so the connection attempt fails. 143 or the external IP without any issue. Explanation: Each MySQL server requires a unique UNIX port in order to work properly. If that works, your code gets the host or port wrong. b. Not sure that it confirms that port 3306 is open and responds via mySQL Nov 2, 2023 · Connection refused indicates that nothing is listening on the intended interface on that port. As a result, each user connection gets a dedicated operating system thread in the mysqld process. These tools can help you diagnose connectivity issues between your applications and the MySQL server. 1注释,开放所有连接 sudo vim /etc/mysql/mys… Sep 23, 2008 · 127. 3: after disconnect network cable and start node server. 从远程定位问题ping ip : 检测机器是否可以连的通telnet ip port : 检测端口是否有开放2. I’ve tried suggestions in previous posts but it’s not working. I am currently using ubuntu server on a virtual box machine to have a secondary environment for testing. How should I check the settings? Jul 23, 2025 · Fortunately, resolving "connection refused" errors is often simple, requiring a few basic checks and adjustments. 168. A MySQL client on Unix can connect to the mysqld server in two different ways: By using a Unix socket file to connect through a file in the file system (default /tmp/mysql. For example, if you're running MySQL on the default port and your database name is mydb, the command would be telnet mydb 3306. Despite the fact that Telnet then reported that it had connected to MySQL at localhost, the MySQL user account is apparently configured for 127. Mar 17, 2011 · Verify that you can connect to the mysql port with telnet from that remote machine, e. Click on 'start' to start from hyperlink appeared on left side. The remote connection stops directly after one single try. while my database is my local machine. We need to handle the exception carefully in order to fulfill the communication problem. Bluehost) or its IP address. This is a Canonical Question about Connection Refused We see a lot of questions to the effect When I try to connect to a system I get a message Connection refused Why is this ? When you attempt to connect to an Amazon RDS DB instance, you might encounter common issues that prevent successful connections. cnf file and all The telnet and nc commands test the connection between the client and the server. 从机器内部定位1. I keep getting “dial tcp 127. 4 3306 (where ip is public and port is open) and I get : telnet: Unable to connect to B. com 3306 - I've got refuse connection: "Could not open connection to the host, on port 3306: Connect failed" Sorry for the stupid question: have I missed something to grant access to DB 3306 port ? 2 days ago · 常用命令 telnet telnet 是一个简单的网络工具,可以用来测试远程主机的某个端口是否开放。 命令格式: telnet <ip_address> <port> 如果端口开放,命令行会显示连接成功的信息;如果端口未开放,通常会显示连接失败的信息。 端口连通示例: Win May 15, 2007 · Hi, I am trying to connect to mySQL but I get this connection refused: telnet localhost 3306 Trying 127. 1. Sep 10, 2015 · When trying to connect to mysql server via telnet I am getting following error: telnet localhost 3306 Trying ::1 Trying 127. I'm assuming your problem is that you can't get the MySql client to connect to the MySql server? 一、判断Ubuntu是否开启防火墙 sudo ufw status开放防火墙3306端口 sudo ufw allow 3306二、查看3306端口是否打开 三、修改mysql配置文件,将bind-address = 127. Oct 7, 2023 · Hello, I have installed DirectAdmin 1. Jul 17, 2018 · Hello, I try to connect grafana with mySQL DB, in Data Sources. Trying to connect grafana to a local mysql server as a data source on my win10 laptop. Y and restart the MySQL Server. Here, we'll walk through how to troubleshoot and fix Telnet connection errors in detail. But I did 2 changes on mysql server. Conclusion You have now learned how to check the connection to a MySQL database server using nc (netcat) and telnet commands. Aug 7, 2018 · I also tried: telnet <end point> 5432 It raised error: telnet: connect to address xxx: Connection refused telnet: Unable to connect to remote host What is the possible reason? Update: In the VPC: In the subnets: In the `route tables': and its routes: the internet gateway: Finally, the security group: This comprehensive guide will help you identify and fix the ssh connection refused error; ssh: connect to host port 22: Connection refused I discovered, however, that via a remote server, I am able to connect to the other mysql database server via telnet, including the password, user and database. Jul 28, 2020 · Never happened before, but today I upgrade Windows preview version, and an exception occured (Connection Refused: connect). If it works there, the problem is the network. ini file in Program Files\MySQL\MySQL Server X. sock), or by using TCP/IP, which connects through a port number. Learn setup, usage, real-world tips, and a 5-step action plan to diagnose problems like a pro. B. Jun 12, 2025 · Learn how to troubleshoot MySQL connection issues with this step-by-step guide. com, I can connect mysql locally (from the db server itself), but I can't do remotely (from my dev machine). 1 port 1080: Connection refused Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command. For example, memory use is relatively high if there's a large number of user connections, even if they're idle connections. The solution is to create a new MySQL user with the relevant privileges like so. I tried to telnet to following telnet 127. 111 is "connection refused". Aug 2, 2022 · If you encounter problems when you try to connect to the MySQL server, the following items describe some courses of action you can take to correct the problem. 32. Find answers to cant connect remotely to MySQL - telnet connection refused from the expert community at Experts Exchange Mar 18, 2020 · # curl telnet://db:3306 curl: (7) Failed to connect to db port 3306: Connection refused # curl telnet://localhost:3306 Warning: Binary output can mess up your terminal. Please run the telnet command I mentioned but replace instance hostname with an IP address of your EC2 instance running MySQL and paste output here. 04), and also there are a Mongodb database and a Mysql… Hi, We've recently hit an odd connection problem where we cannot connect to an RDS instance from some IP addresses, even though they're listed in the security group rules. Jun 2, 2025 · Troubleshoot network issues fast using Telnet port commands. d giving error: ERROR 2003 ( How to Fix Local MySQL Can’t Connect to Server If your connection script is on the Bluehost server itself, you can simply change the hostname to localhost. Recently I did some software updates and was trying to run other apps on different ports and now I can't run my fi Jul 28, 2012 · Error: getaddrinfo ENOENT issue come in different case. There are potential issues associated with this type of connection handling. The next step is to try to connect to mysql using mysql client: $ mysql -u user -p -h your_server_ip Oct 8, 2012 · The part of the Telnet log you included shows Telnet trying first to connect by name and failing. This common error can occur when your MySQL server is not running 6 days ago · Check Firewall: Ensure port 3306 is open on the server (use telnet or nc from your client). I wrote a python to open a socket and the socket cant be created as its says connection refused ┌── (kali㉿kali)- [~] └─$ ping localhost -c 2 1 ⨯ PING localhost (localhost (::1)) 56 data bytes 64 bytes from localhost (::1): icmp_seq=1 ttl=64 time Dec 11, 2022 · telnet: Unable to connect to remote host: Connection refused mysql -u user -p -h 192. Jun 7, 2008 · But can't 'telnet 3306' from host to guest, receiving 'Connection refused' problem, neither can't (from guest to itself) 'telnet 3306' ('connection refused'). 查看mysql服务是否开启 ps -ef|grep mysqld2. Our MySQL Support team is here to help you. 2 3. Oct 13, 2025 · 文章浏览阅读4. Oct 22, 2019 · I have set the network adaptor in this VM to Bridged Adaptor. 1 1433 but I got following message: MySQL连接出问题:使用远程IP连接本地主机时,mysql报错“连接被拒绝” 在进行数据库开发过程中,经常需要在本地主机上安装MySQL并连接至其它主机的MySQL服务。 Telnet is a network protocol that you can use to directly connect to the server and check the service availability. Redis runs in a Docker container and Docker runs in WSL2 (Ubuntu 18. From this box, I am able to access mysql using 127. The issue is: on db. 1: Dec 12, 2021 · I keep getting connection refused when I try to use telnet or ssh or any other means. Jul 6, 2021 · I'm trying to connect my MySql running on my VPS (let's say hostname db. Follow practical solutions to resolve common problems and ensure smooth database access. 143 Enter password: ERROR 2002 (HY000): Can't connect to MySQL server on '192. So the NAT will close your connection with no message whatsoever. 0:* LISTEN Firewall is disabled on mysql server. Sep 20, 2021 · MySQL typically doesn’t allow remote connections only the local machine, so have you modified the configuration, to allow remote connections within your local network? I figured out the issue. Nov 15, 2025 · A common culprit? **Port 3306**—MySQL’s default port—being blocked by the Debian server’s firewall (`iptables`). Connection refused is not a mysql error. If you have any questions, comments, or suggestions for improvement, please feel free to share your thoughts in the comments section below. Feb 1, 2025 · Learn how to diagnose MySQL connection problems using command line tools with our complete guide, troubleshooting tips, and best practices. May 30, 2023 · Learn how to resolve the Cannot connect to mysql server on localhost 3306 error. xxx 3306 が telnet: Unable to connect to remote host: Connection timed out と、接続できないため、ポート周りかと思うのですが、原因・対策がわかりません。 行ったことは以下の通りです。 MySQLユーザhogeの接続許可設定確認 Jul 28, 2020 · Never happened before, but today I upgrade Windows preview version, and an exception occured (Connection Refused: connect). Sep 8, 2023 · It's very weird. 04). Mar 12, 2025 · Explore practical steps to troubleshoot MySQL connection issues. Jul 22, 2013 · This is a reference guide for testing and troubleshooting a email server running Postfix as it's MTA, Dovecot as a POP3/IMAP server, and MySQL for database. msc, select the "MySQL_xx" where "xx" is the name you have assigned to MySQL host services during setup. net. d, but while trying to connect MySQL on 1. Aug 11, 2013 · When I try to connect from an application to a SQL Server environment on the same machine, the connection fails. If it doesn't work there Feb 4, 2022 · java. ConnectException: Connection refused: connect is the most frequent kind of occurring networking exception in Java whenever the software is in client-server architecture and trying to make a TCP connection from the client to the server. This was working as expected. I just created 3 VPS using CentOS 8, seems to have the same problem. In addition Test Connectivity with Telnet: Use the telnet command to check if you can establish a network connection to the MySQL port on your EC2 instance. If your script is trying to connect remotely to our server, and you're currently using domain. From telnet to Python scripts, ensure your database is reachable. 143' (115) UPDATE I'm really at a loss for what's going on. Aug 2, 2022 · For connections to localhost, MySQL programs attempt to connect to the local server by using a Unix socket file, unless there are connection parameters specified to ensure that the client makes a TCP/IP connection. Database level issues Nov 9, 2009 · Caused by: com. May 19, 2023 · 转载请注明出处: 当使用 telnet 命令连接远程主机的时候,如果出现 Unable to connect to remote host: Connection refused 的错误提示,通常有以下几种原因: 目标主机没有开启对应的端口。如果要使用 telnet 命令连接某个主机的某个端口,那么这个端口必须是开启的。如果目标主机没有开启这个端口,那么连接 May 14, 2020 · curl: (7) Failed to connect to 127. I posted telnet results at the tail of the posting. For a client program to connect to the MySQL server, it must use the proper connection parameters, such as the name of the host where the server is running and the user name and password of your MySQL account. when I telnet the system Ip over that port 3306, its giving me connection refused. Aug 7, 2018 · I also tried: telnet <end point> 5432 It raised error: telnet: connect to address xxx: Connection refused telnet: Unable to connect to remote host What is the possible reason? Update: In the VPC: In the subnets: In the `route tables': and its routes: the internet gateway: Finally, the security group: Aug 11, 2025 · The MySQL Community Edition manages connections using one thread per connection. Trying 10. exceptions. For WSL launch issues, please collect detailed logs. 99 telnet: connect to address 10. I've been to: MariaDB official docs for remote access MySQL: Allow both remote AND local connections Mysql thro May 28, 2018 · Connection refused 에러가 발생하거나 telnet을 이용해서 MySQL이 설치된 IP의 3306포트로 접속시 연결이 되지 않을 때의 해법이다. From what I can tell, my telnet is just calling out into the void with no answer whatsoever. This topic addresses several frequent connection problems, along with steps to identify and resolve them. xxx. 1 create connection using var pool = mysql. Turned firewall off to check port 3306 is open can telnet to localhost:3306 can connect from command line GUI app with same settings May 18, 2017 · Why can't I connect to the mysql server? On the same server an Apache/PHP server is running and it connects without problems!? Aug 15, 2024 · Learn effective steps to troubleshoot MySQL connection errors, including common causes, solutions, and tips for a seamless database connection. 1:3306: connect: connection refused”. 1 localhost ::1 localhost Sometimes mysql can not trigger Windows to force start host services if firewall blocks it, so start it manually win + run>>services. Use ss -tnlp|grep 3306 to check where it is listening. Add the bind-address to the [mysqld] section. You connect to the port exposed by the virtual server to the outside; the server then tries to forward the connection to a target; the target refuses. Include screen shots if that helps demonstrate the problem. Php scripts can't connect to remote ip 1. When I try to connect to a local mysql database using it's remote ip-address I get a access denied. 04), and also there are a Mongodb database and a Mysql… Mar 28, 2020 · I have installed MySQL server on Windows and I would like to connect to it from WSL2. 3. Anything but " connection refused " means that the port is already in use by an active process and is not available. 10. When trying to connect to mysql server via telnet I am getting following error: telnet localhost 3306 Trying ::1 Trying 127. 6w次,点赞24次,收藏56次。本文详细介绍了当遇到MySQL服务器3306端口无法远程连接的问题时,如何从网络、端口、防火墙及配置等方面进行排查与解决,并提供了具体的步骤指导。 2 days ago · A common issue is the ` [WinError 10061] Connection refused` error, which indicates the client cannot establish a TCP connection to the server when SSL is enabled. Validate MySQL Bind Address: Confirm bind-address = 0. 1:3306 0. it is throwing Can't connect to MySQL port [3306] on Amazon AWC EC2 host I keep getting Connection Refused. 4 port 3306 (connection refused) On server I checked debian@server:~$ telnet 1. steps . This blog will guide you through **step-by-step SSL configuration for PyMySQL**, explain why the ` [WinError 10061]` error occurs, and provide actionable solutions to fix it. Telnet shows the port is open (configured for 3307 instead of 3306), there is no 'bind-address' set in the my. Track down what program this is and disable it, or tell mysqld to listen to a different port with the --port option. 04) remotely from Server B (Ubuntu 16. I have this message error: dial tcp [::1]:3306: connect: connection refused Thank you for your helping, Theofane Bidaud But can't 'telnet 3306' from host to guest, receiving 'Connection refused' problem, neither can't (from guest to itself) 'telnet 3306' ('connection refused'). Recently I did some software updates and was trying to run other apps on different ports and now I can't run my fi Oct 12, 2023 · Quick Guide: Testing MySQL Connection Without the MySQL CLI Explore various methods to test MySQL connections directly from the command line. Connection refused, some other program is using the TCP/IP port that mysqld is trying to use. 22, “Troubleshooting Problems Connecting to MySQL”.