Feeds:
Posts
Comments

Archive for the ‘MySQL’ Category

To replace particular string with another in mysql use the following command update tablename set field = replace(field,’search_for_this’,’replace_with_this’);

Read Full Post »

Regular Expressions

A regular expression is a powerful way of specifying a pattern for a complex search. MySQL allows the following regular expression metacharacters: . — match any character ? — match zero or one * — match zero or more + — match one or more {n} — match n times {m,n} — match m through [...]

Read Full Post »

Full text search

I was doing a research on implementing search using mySQL for my site. I learnt the following things. I would like to share it with you. One of the more useful MySQL features is the ability to search for text using a FULLTEXT index. Currently this is only available if you use the MyISAM table [...]

Read Full Post »

To Solve this error, you have to update the mysql.user table. GRANT ALL PRIVILEGES ON [dbname].* to ‘[user]‘@’[hostname]‘ identified by ‘[password]‘ Check whether it updated the privileges. mysql> select Host, User, Password from user;

Read Full Post »

« Newer Posts