Forum Discussion Search with BoardTracker.com
Forum Discussion Search with BoardTracker.com
  
  

Advanced  |  Help
    Home Search Alerts Browse My Threads Setup About Login Signup    


» All > Computers & Internet > . > Databases > MySQL [7 Forums][Track this Category]
   Browse sub-categories   
No sub-categories for this category

   Latest threads in category   
SitePoint MySQL error on a sub-query (mysql 4)  
15:24 13-Nov-06   [Replies: 2, Views: 33]    By: psalzmann
Hello, We had a script uploaded to MySQL version 4 and the code was written on MySQL 5. However it's to do with the sub-query being called. Could someone give any tips on how this query c...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Selecting date when stored in traditional string format  
14:26 13-Nov-06   [Replies: 8, Views: 47]    By: sabret00the
i'm wondering why this won't work PHP Code: SELECT userid, username, birthday FROM user WHERE SUBSTRING(birthday, 5) >= '11-13' AND SUBSTRING(birthday, 5) < '11-20' ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Nearest Cities Query  
14:18 13-Nov-06   [Replies: 2, Views: 54]    By: adamle
Hello, I have a table with around 3 million entries each a city in the world. Other than countrycode, name etc... I have latitude and longitude for each, with an index on each field. There a...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Error : "cannot be part of FULLTEXT index"  
10:56 13-Nov-06   [Replies: 10, Views: 153]    By: Unnamed
Hi, in order to make it possible to do a fulltext search on multiple columns I created a temporary table which holds all the fields I want to search in from different tables. I'm creating a t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Can you merge these two SQL statements?  
10:31 13-Nov-06   [Replies: 1, Views: 36]    By: mattmoo
The first one is to get the row numbers for my paging. The second one is what is ran for the actual paging. I assume you can't join the two because of the LIMIT and offset values. Am i right...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MacBook Pro - MySQL migration issues  
08:59 13-Nov-06   [Replies: 1, Views: 111]    By: lloydi
I just migrated from an iBook to a MacBook Pro. All the apps and settings copied across just fine but, as those who've done this before will know, things like Apache settings, MySQL etc are not co...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Querying with array on a column that contains an array  
08:12 13-Nov-06   [Replies: 1, Views: 34]    By: Busch
One column of my table (that i didn't create) contains comma separated category IDs: parentlist -1 1,-1 -1 1,-1 3,1,-1 2,-1 For example, the red row is in catego...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint total sum of values?  
04:27 13-Nov-06   [Replies: 3, Views: 47]    By: knopix
this isn't a question of "how do I do this" but more of a "what's the best efficient way of doing this" the current code is: $result=mysql_query("SELECT votes FROM lis...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Please help with my Fulltext Indexing question  
04:12 13-Nov-06   [Replies: 5, Views: 43]    By: john278
Hi, If I have a query like: Quote: SELECT ided, merch.mid, mer, cost, ran, name, imgurl, brands FROM merch, products WHERE products.mid=merch.mid AND mcat='$cat' AND...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint MySQL Optimization??? Help!  
22:39 12-Nov-06   [Replies: 7, Views: 89]    By: hitemuprobbo
Hi, im recently been suspended daily by my hosts, saying that im causing a high load on my server with around 500,000 requests daily!!! Now they are saying "usual" reasons for this a...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint what query would work for this?  
17:36 12-Nov-06   [Replies: 11, Views: 68]    By: Kailash Badu
I have two tables: say Yes and No. Yes(ID, YesEmail, EmailOwner); No(ID, NoEmail); Both YesEmail and NoEmail contain email addresses. What query can retrieve all the email addresses in Yes table t...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Summing a column?  
17:32 12-Nov-06   [Replies: 9, Views: 85]    By: Unnamed
Not sure if this issue would fall under PHP or MySQL. So forgive me if I posted this in the wrong section .... Basically, here is what I have so far.... PHP Code: $month...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint How UNION is supposed to work?  
17:20 12-Nov-06   [Replies: 5, Views: 59]    By: Unnamed
Hello here, I have a problem with the use of UNION. If I query my database with the following: Quote: SELECT column1 FROM mytable WHERE title = "mytitle" UNIO...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Query Problem  
14:13 12-Nov-06   [Replies: 3, Views: 24]    By: james.tombs
I have a query that works on one page but the same query brings up an error on another page. This is the page that it doesn't work on. PHP Code: <?php if ($_POST...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint can't connect to mysql  
09:08 12-Nov-06   [Replies: 0, Views: 30]    By: pvzandbeek
Hi, I just set up a test environment on my local machine. Windows xp pro sp 2 Apache 2 php 5.2.0 MySql 5.0.27 I can connect from the console and run queries just fine but from a php page I try to ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Upgrade to Mysql Cluster  
02:48 12-Nov-06   [Replies: 2, Views: 26]    By: majjour
Hi all, We run a php/mysql University Management System that is facing performance problems. Currently the active components of the system runs on three servers, two dedicated for the appl...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint setting up problemo  
23:31 11-Nov-06   [Replies: 8, Views: 70]    By: elduderino
Hi, IM a database virgin and am wanting to get in to server side scripting. Ive been trying to set up mysql on my machine by following this tut: http://www.sitepoint.com/article/ph...-...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint simple query? why is my hair falling out?  
15:24 11-Nov-06   [Replies: 2, Views: 41]    By: kzenman
Im trying to pull all records from table a and table b for 14 hrs now. It seems so simple? both tables are indexed with the fields 'classid' and 'states' actual results should be 36 records a...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Query optimization advice?  
15:13 11-Nov-06   [Replies: 4, Views: 56]    By: Unnamed
Hello, I am familiar with the VERY basics of MySQL (in other words, I am not an expert...), and I am currently working to create a simple search engine on our website. Users should be able to sea...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint SQL rank problem  
13:48 11-Nov-06   [Replies: 1, Views: 31]    By: joey123
right i have a table data_9(domain,title,url,text) basically i want an sql statement to rank in desc order the group of domains. pretty easy but i also want to rank in desc order the group of ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Slow Authentication  
09:51 11-Nov-06   [Replies: 1, Views: 57]    By: mwsnewbie
MySQL V 5.0.18 on SUSE 10.1 I'm not a complete *nix noob, but I sure as hell ain't a *nix or MySQL pro. This is a new installation. Everything screaming fast. Unless it deals w/authenticat...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Table design advice  
04:21 11-Nov-06   [Replies: 11, Views: 83]    By: Chris..S
I'm looking for some advice on suitable ways to construct a table or tables to handle the following situation. I have a dynamic and structured content requirement, where the user can define a ...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint CONCATing from the same field  
23:02 10-Nov-06   [Replies: 9, Views: 75]    By: mattalexx
Is there a way to query this table: Code: +------+-------+ | id_1 | value | +------+-------+ | 1 | 5 | +------+-------+ | 1 | 6 | +------+-------+ | 1 | 7 | +--...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint Simple Between Query problem  
22:41 10-Nov-06   [Replies: 6, Views: 54]    By: Unnamed
I have multiple fields on my form where a user submits a minimum and maximum value. Such as minimum price and maximum price, so I use a Between in my queries like this. Code: SELECT COUN...
[Tags: No tags defined yet] -
Be the first to Tag this thread
SitePoint mysql 4 vs mysql 5? Why does this not work in both?  
15:50 10-Nov-06   [Replies: 6, Views: 52]    By: mattmoo
$search = "SELECT ct_vehicles.id,". " ct_vehicles.description,". " ct_vehicles.price,". " ct_vehicles.manufact...
[Tags: No tags defined yet] -
Be the first to Tag this thread

<<First  <Previous  6  7  8  9  10  [11]  12  13  14  15  16  Next>      
   




Research | Board owners portal | BoardTracker Forums | Search plugin | Add your board | About us | Contact us

© Pidgin Technologies Ltd. 2006