Category Archives: mysql

What is utf8

Share What Is UTF-8 And Why Is It Important? Unicode is a character set supported across many commonly used software applications and operating systems. For example, many popular web browser, e-mail, and word processing applications support Unicode. Operating systems that … Continue reading

Posted in anything under the moonlight, mysql, php | Tagged | Leave a comment

INSERT SELECT

Share I was trying to duplicate a record and the best solution I can find is to do it like this. INSERT INTO table SELECT * FROM table WHERE {CONDITION} But this is not a good idea if you have … Continue reading

Posted in mysql | Tagged , , | Leave a comment

CONCAT_WS

ShareCONCAT_WS(separator,str1,str2,…) CONCAT_WS() stands for Concatenate With Separator and is a special form of CONCAT(). The first argument is the separator for the rest of the arguments. The separator is added between the strings to be concatenated. The separator can be … Continue reading

Posted in anything under the moonlight, mysql | Tagged , | Leave a comment

MYSQL: FIND_IN_SET AND IN()

ShareUsing IN() for comma delimited and my query is something like SELECT * FROM TABLE WHERE FLD IN(’33, 148′) TABLE (ID) (FLD) COMMA DELIMITED FIELD 1 42, 148 2 234, 25423,148 It wont be able to retrieve any records at … Continue reading

Posted in mysql | Tagged , , , | 1 Comment

PLESK – how to create remote access on mysql

Sharecreate a user for  any host or %. And you will be able to access mysql remotely.

Posted in mysql | Tagged , , | Leave a comment