Activity Stream
48,167 MEMBERS
6837 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Banned

    Default how to edit a mysql?

    hello, i have a vbulletin sql.

    i want to mass replace words as fuck, xxx for permanently

    there are like 100k posts

    how can i edit this?

    i dont want to use the replace word option in admincp, how can i edit directly in the sql file?

    any tools?
    kuzukuzu Reviewed by kuzukuzu on . how to edit a mysql? hello, i have a vbulletin sql. i want to mass replace words as fuck, xxx for permanently there are like 100k posts how can i edit this? i dont want to use the replace word option in admincp, how can i edit directly in the sql file? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Unix / Linux

    sed -i ‘s/fuck/xxx/g’ sql_file.sql
    Coding Horror Fan
    I don't read PM's frequently .

  4.     
    #3
    Respected Member
    I don't know the name of your VB post table but here is the mySQl command.

    update post set pagetext=replace(pagetext,'fuck','xxxx')
    This is without a prefix for the table. You may have to add a prefix in front of post like vb_post or whatever. When you are in phpmyadmin it will show you if there is a prefix.

    Make sure you have a db backup in case you type something wrong.

  5.     
    #4
    Member
    Website's:
    fsdwarez.org
    just censor the words from admincp, thats the easiest way to replace them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Edit pr?b
    By Chris2k in forum Web Development Area
    Replies: 4
    Last Post: 6th Feb 2012, 05:38 PM
  2. (vB 4.1.3) (Edit Required) Edit from code box
    By champ_007_bond in forum vBulletin
    Replies: 0
    Last Post: 15th Dec 2011, 08:20 PM
  3. can u edit this ?
    By Mars in forum Wordpress
    Replies: 1
    Last Post: 27th Sep 2011, 10:36 PM
  4. MYSQL Error while Import via MYSQL Dumper (Error
    By desibreaker in forum Server Management
    Replies: 10
    Last Post: 5th Aug 2011, 07:26 PM
  5. How to edit nav bar?
    By lig}{tning in forum IP.Board
    Replies: 3
    Last Post: 28th Oct 2010, 05:32 PM

Tags for this Thread

BE SOCIAL