Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #72.9K
~2K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for SimonIoa

hi Simonloa, as long as all unioned queries have the same type of columns, you can do a subquery and name result outside it: select SQ2.uid as id, SQ2.name, SQ2.username, ... from ( select distinct * from ( select uid as id... union select uid as id... union select uid …

Member Avatar for SimonIoa
0
2K
Member Avatar for pooranjaiswal

The best approach is to add mysql_close() at the end of every page (as ajay_tabbu pointed out). You have also two options: 1) In ssh, mysql | kill <procid>, or 2) In my.cnf, wait_timeout = 600 (time is in seconds)

Member Avatar for CesarF
0
152

The End.