Author:
Password:

nano /etc/sysconfig/i18n


At the last line, add

LC_ALL=en_US.UTF-8

 

Done!

Tag:
CentOS
0 replys / 588 views.
Reply

1) Open Terminal

 

2) To hide the hidden files, key in the below:

defaults write com.apple.finder AppleShowAllFiles TRUE

killall Finder

 

3) To display the hidden files, key in the below:

defaults write com.apple.finder AppleShowAllFiles FALSE

killall Finder

Tag:
Mac
0 replys / 422 views.
Reply
Dear Clients, Friends and Partners,
Tag:
eCard
Web Design
0 replys / 426 views.
Reply

MySQL by default requires minimum of 4 alphabets to perform a search.

Here is a way to modify the minimum number on CentOS:

# mysql -u root

# nano /etc/my.cnf

add the below line and save it, the number indicate the minimum length for the search, here we put 3.

ft_min_word_len=3

# service mysqld restart

rebuild the fulltext index of sql and it should work.

Tag:
CentOS
MySQL
Search
0 replys / 431 views.
Reply

About this idea, you won't usually think about it until you really need it. Here is an example where you need it:
Assume you have a `table` with primary key `id` and you have `id` value 1 to 10000 stored in that table. When you are going up adds every `id` by 1, you may write

update `table` set `id`

Tag:
MySQL
0 replys / 869 views.
Reply
To view more, please select month or tag from the list on the right..
View the latest 5 entries.