MySQL ' root ' @ ' localhost ' & ' root ' @ '% ' difference

Source: Internet
Author: User

1.% allow connections from any IP   localhost to allow native connections
2. dbfor Studio MySQL 6.2.280
  % of cases, use Backup databases, pour out the SQL file, import in another database (RESTORE database) does not go in
  localhost, using Backup databases, pour out the SQL file, in another database can be imported normally
3. Select * from Mysql.proc can see their differences (Procedure and function)
DB                name          type         specific_name lanage  sql_data_access                                                                                 
   
   TD width= "style=" width:54pt ">inventory_held_by_customer 
      TD width= "style=" width:54pt ">inventory_held_by_customer 
     
work function sql reads_sql_data no definer       [email protected]
Work Inventory_in_stock FUNCTION Inventory_in_stock Sql Reads_sql_data NO Definer [Email protected]
Game F_dep_getchildlist FUNCTION F_dep_getchildlist Sql Contains_sql NO Definer [Email protected]%
Game F_get_taskdeviationestimate FUNCTION F_get_taskdeviationestimate Sql Contains_sql NO Definer [Email protected]%

MySQL ' root ' @ ' localhost ' & ' root ' @ '% ' difference

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.