![]() ![]() # Try number of CPU's*2 for thread_concurrency General_log= 0 general_log_file= /var /log /mysql /general.log Slow_query_log_file = /var /log /mysql /slow.log #logging long_query_time= 1 slow_query_log= 1 Wait_timeout = 7200 interactive_timeout= 7200 #The number of outstanding connection requests MySQL can have (Defaultĕ0) # Here follows entries for some specific programs # The MySQL server # The following options will be passed to all MySQL clients #password = your_password # If you want to know which options a program supports, run the program # with the "-help" option. For information about these locations, see: # In this file, you can use all long options that a program supports. # You can copy this option file to one of those # locations. # MySQL programs look for option files in a set of # locations which depend on the deployment platform. # This is for a large system with memory = 512M where the system runs mainly # MySQL. #add root password /usr /bin /mysqladmin -u root password 'new-password' /usr /bin /mysqladmin -u root -h password 'new-password'-configure mysql more info vi /etc /my.cnf # Example MySQL config file for large systems. Rpm -Uvh * #create log dir mkdir /var /log /mysql Remove old version yum remove mysql mysql-devel mysql-server mysql-libs-Download the need package from Download URL varies depending on download mirror mkdir mysql
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |