Jump to content

thryb

Members
  • Posts

    56
  • Joined

  • Last visited

    Never

Posts posted by thryb

  1. Hi guys,

    Anyone ever get this error from a mysql_connect?

     

    Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL

    server at 'reading authorization packet', system error: 0 in

    /var/*www/web2/web/comment_post.php on line 163

     

    I tried to look at the error on internet but there is not much discussion about it, nothing on the forum either.

    If anyone have any hint on this one please let me know.

     

    This problem doesnt happen all the time, we got an email today from a customer getting that.

  2. 2 database limit mean you can create 2 database for you site, If they didnt put any size restriction on the DB then you actually can use as much table as you want, wich mean you can use prefix to separate your table from a website a & b. IE:

    [MyTable]

    a_ExampleID

    a_ExampleName

    ...

    b_ExampleID

    b_ExampleName

    ...

    Thats not the best, but it work well and keep you out of confusion.

     

     

    Was that you question ?

  3. Hey guys,

    Im having a litle problem with a query, I was reading about searching in multiple field with non exact match and the query should look like this in FULLTEXT

     

    $sql = "SELECT * FROM Comment WHERE MATCH(CommSubject, CommText, PartCountry, PartCity)  AGAINST ('".$searchstring."') ORDER BY CommDT DESC";

     

    The thing is I dont want the user to use boolean expression is the look for lets say

    Sold

    insteed of

    Soldier

     

    but if I try it with only sold, I get no query result. Does anyone have an idea what is wrong with it ?

     

    Thanks in advance.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.