Reconfigure my MySQL server for utf8 support

'Forum Post ulist at gs1.ubuntuforums.org
Wed Mar 29 21:43:54 UTC 2006


It gives me an error, any one knows why?

Here is how the config was:




Code:
--------------------
    

  [mysqld]

  #

  # * Basic Settings

  #

  user		= mysql

  pid-file	= /var/run/mysqld/mysqld.pid

  socket		= /var/run/mysqld/mysqld.sock

  port		= 3306

  basedir		= /usr

  datadir		= /var/lib/mysql

  tmpdir		= /tmp

  language	= /usr/share/mysql/english

  skip-external-locking

  # utf8

  init-connect='SET NAMES utf8'

  character-set-server=utf8

  collation-server=utf8_general_ci

  .

  .

  .

  
--------------------


Here is the error:


Code:
--------------------
    

  Stopping MySQL database server: mysqld.

  Starting MySQL database server: mysqld...failed.

  Please take a look at the syslog.

  /usr/bin/mysqladmin: connect to server at 'localhost' failed

  error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'

  Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

  
--------------------


If I take the addes lines, mysql restarts ok... any one has a clue?

Thank youuuuuuu...


-- 
danf_1979




More information about the ubuntu-users mailing list