select * from gb_board where bo_table = 'board_gallery'

2002 : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)