MySQL dump file and commented out lines
问题 I have these lines at the top of a MySQL .sql file (dumped with phpMyAdmin): /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; But they all seem to be commented out. So will MySQL ignore them when the file is loaded back into a database? If so, why generate these lines at all? 回答1: These are conditional comments aimed