Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning"
Revert "Merge pull request #19881 from sikachu/silence-mysql-errno-warning"

This reverts commit 55d9e494e896e7b041dc7c18df197d53690642b5, reversing
changes made to 03e987cd8fa0951d80c70cbadb7daf890df38271.

Legacy mysql adapter is already removed in #22642.

tgxworld/rails,vipulnsward/rails,schuetzm/rails,Vasfed/rails,tgxworld/rails,Edouard-chin/rails,tgxworld/rails,bogdanvlviv/rails,rails/rails,EmmaB/rails-1,bogdanvlviv/rails,yawboakye/rails,lcreid/rails,Edouard-chin/rails,MSP-Greg/rails,BlakeWilliams/rails,MSP-Greg/rails,lcreid/rails,yawboakye/rails,bogdanvlviv/rails,yahonda/rails,betesh/rails,yalab/rails,esparta/rails,Vasfed/rails,Erol/rails,yalab/rails,vipulnsward/rails,yahonda/rails,betesh/rails,Envek/rails,MSP-Greg/rails,Vasfed/rails,esparta/rails,yawboakye/rails,BlakeWilliams/rails,georgeclaghorn/rails,betesh/rails,yalab/rails,kddeisz/rails,yahonda/rails,MSP-Greg/rails,rails/rails,rails/rails,Vasfed/rails,esparta/rails,schuetzm/rails,schuetzm/rails,kmcphillips/rails,lcreid/rails,BlakeWilliams/rails,Erol/rails,yalab/rails,joonyou/rails,kddeisz/rails,yawboakye/rails,vipulnsward/rails,Stellenticket/rails,kddeisz/rails,kmcphillips/rails,EmmaB/rails-1,Stellenticket/rails,esparta/rails,Erol/rails,tjschuck/rails,Stellenticket/rails,Envek/rails,lcreid/rails,EmmaB/rails-1,joonyou/rails,georgeclaghorn/rails,rails/rails,BlakeWilliams/rails,eileencodes/rails,betesh/rails,joonyou/rails,Stellenticket/rails,tjschuck/rails,georgeclaghorn/rails,Envek/rails,Envek/rails,kddeisz/rails,eileencodes/rails,schuetzm/rails,vipulnsward/rails,kmcphillips/rails,kmcphillips/rails,bogdanvlviv/rails,Edouard-chin/rails,Edouard-chin/rails,Erol/rails,eileencodes/rails,yahonda/rails,eileencodes/rails,joonyou/rails,tjschuck/rails,tgxworld/rails,georgeclaghorn/rails,tjschuck/rails