Users can now provision a DB system with an IPv6 address when the selected subnet supports IPv6. Applications can then reach the DB system through its IPv6 primary endpoint. IPv6 connectivity, familiar MySQL Modern cloud applications increasingly use IPv6 to expand address capacity, simplify large network estates, and support long-term infrastructure modernization. Yet a single […]
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
It’s 2018. Maybe now is the time to start migrating your network to IPv6, and your database infrastructure is a great place to start. Unfortunately, many legacy applications don’t offer the option to connect to MySQL directly over IPv6 (sometimes even if passing a hostname). We can work around this by using ProxySQL’s IPv6 support which was added in version 1.3. This will allow us to proxy incoming IPv4 connections to IPv6-only database servers.
Note that by default ProxySQL only listens on IPv4. We don’t recommended changing that until this bug is resolved. The bug causes ProxySQL to segfault frequently if listening on IPv6.
In this example I’ll use centos7-pxc57-1 as my database server. It’s running …
[Read more]ARIN is the American Registry for Internet Numbers, the organisation that hands out the blocks IP addresses.
Each region has its own, for instance Australia/Pacific has APNIC. Naturally, they work very closely together.
Open Query can assist you with planning and deployment of IPv6 capabilities on your front-end servers, as well as at the back-end if you wish. Not all hosting providers support IPv6, but many good ones do. MySQL/MariaDB can operate in a native IPv6 or dual stack environment. Open Query enabled its own front-end servers for IPv6 a number of years ago already.
http://teamarin.net/2015/09/24/arin-reaches-ipv4-depletion/
…
[Read more]I think that getting 128-bit types into MySQL would be good. There are a few use cases for this and right now we have to work around them. That should not be necessary. While not essential they would make things easier. The headline is easy to understand, but is this really needed? First we need … Continue reading Time to get some 128-bit types into MySQL?
After reading www.postgresq.org now active over IPV6 by
default I quickly tried some other host to see what the
current state of IPv6 is for some known database websites.
$ getent hosts mysql.com percona.com askmonty.org postgresql.org
oracle.com sqlite.org code.openark.org skysql.com
drizzle.org
156.151.63.6 mysql.com
74.121.199.234 percona.com
173.203.202.13 askmonty.org
2a02:16a8:dc51::50 postgresql.org
137.254.16.101 oracle.com
67.18.92.124 sqlite.org
69.89.31.240 code.openark.org
94.143.114.49 skysql.com173.203.110.72
drizzle.org
So only postgresql.org supports IPv6 right now. On the MySQL side
Facebook is one of the known IPv6 …
Use DNS directly from your database
mysql> SELECT lookup('localhost');
+---------------------+
| lookup('localhost') |
+---------------------+
| 127.0.0.1 |
+---------------------+
1 row in set (0.00 sec)
mysql> SELECT reverse_lookup('127.0.0.1');
+-----------------------------+
| reverse_lookup('127.0.0.1') |
+-----------------------------+
| localhost |
+-----------------------------+
1 row in set (0.00 sec)
This is how you install these functions.
- Build udf_example.so which is in your mysql source. (make udf_example.so)
- Copy the udf_example.so file from your build directory to your plugin_dir.
- Create the lookup and reverse_lookup functions
mysql> CREATE …[Read more]
For MySQL it's a best practice to store IP addresses in a INT
column rather than in a VARCHAR. This allows for more compact
storage. This best practice is only for MySQL as PostgreSQL does
have data types like inet and cidr.
MySQL is equiped with the INET_ATON() and INET_NTOA() functions
since version 3.23.15. In MySQL 5.6.3 the INET6_ATON() and
INET6_NTOA() functions were addes to finaly add IPv6 address
support. To make it easier to work with IPv4 and IPv6 addresses
the IS_IPV4_COMPAT(), IS_IPV4_MAPPED(), IS_IPV4() and IS_IPV6()
functions were added. The difference between the new and old
functions is that the old functions use INT UNSIGNED to store IP
addresses and the new function uses VARBINARY(16) for IPv6
addresses and VARBINARY(4) for IPv4 addresses.
Here are some examples about how you could do …
For those that don’t follow the ARIN Public Policy Mailing List, the following is excerpted from a post by Thomas Narten in response to the announcement that the IESG has approved a new document to replace the existing RFC 3177 (IPv6 Address Assignment to End Sites).
> The IESG has approved the following document:
> – ‘IPv6 Address Assignment to End Sites’
> (draft-ietf-v6ops-3177bis-end-sites-01.txt) as a BCP
Quoting from the Introduction:
This document obsoletes RFC 3177, updating its recommendations in the following ways:
1) It is no longer …
[Read more]A special extended edition of Tech Messages for 2011-01-07 through 2011-01-08:
-
The Services Used By Y Combinator Startups
[Infographic] – ReadWriteCloud
"The results show that the majority of Y Combinator startups depend on cloud services instead of self-hosted servers, traditional web hosting or co-location services." -
Tom
Limoncelli on Time Management | O'Reilly Time Management for
System Administrators | Sysadmins
Video companions to to Time Management for System Administrators by Thomas A. Limoncelli. - Guidelines …
Good news. I was told by a colleague that the Dutch ISP XS4ALL is offering IPv6 connectivity to its retail customers. You can see here although the comments are in Dutch. They also provide a list of ADSL routers which should work for their service. The Cisco name may not be surprising but this is [...]