[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:databases:install_mysql_on_slackware [2013/01/07 02:26 (UTC)] – modified file flags mfillpothowtos:databases:install_mysql_on_slackware [2013/02/11 16:51 (UTC)] – [Configure MySQL] wisedraco
Line 85: Line 85:
 mysql> DELETE FROM user WHERE user=''; mysql> DELETE FROM user WHERE user='';
 </code> </code>
 +
 +== Finish set configfile ==
 +  * Go to ''/etc/mysql'' folder, and choose config, who you prefer ( for simple variants without heavy mysql load,if you have 2+ Gb RAM, i recommend my-large.cnf) and copy it to \ as ''/etc/my.cnf''.
 +  * Edit ''/etc/my.cnf'' adding these lines after [mysqld]:
 +<code>
 +[mysqld]
 +collation-server = utf8_unicode_ci
 +init-connect='SET NAMES utf8'
 +character-set-server = utf8
 +</code>
 +This gives you full utf8 on your mysql server, after restart it.
 +More on this described there:[[http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf8-in-my-cnf]]
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
 howtos:databases:install_mysql_on_slackware ()