473,543 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MySQL Database Forum

MySQL database (open source) - Ask questions about mysql server, setup, queries, optimization, errors, tables, syntax, functions, SQL, storage engines, MySQL cluster, replication, scalability, availability, stored procedures, views and more.
4
1,923
thread by: waqasahmed996 | last post Feb 5 '11 by: waqasahmed996
Hi I want to specify a search criteria but not know is it possible or not. My table has following fields and data. Table name : tablename fields : category languageid Data Data 1 IS Yes 1 EN * 2 IS ...
2
1,986
thread by: Kaushal Elsner | last post Feb 5 '11 by: Kaushal Elsner
I have a table "services_detail". id order_id URL keywords22 Description Keyword53 1 4468 --- ---- --- df 2 3571 U1 pqrs dfgdfg 3 9163 --- wxyz --- Then how to get column names based on following value 1)pqrs (I want - Keyword22(As query Answer)) - Query?
3
1,752
thread by: chopin | last post Feb 28 '11 by: dgreenhouse
I have a table `city` that contains four cities (a,b,c,d) I am trying to concatenate the city with a string. It is important that the city must come first: CONCAT(`city`, ' text') should do the trick, but I am getting the following: a b c d text
1
3,186
Raymond Ng
thread by: Raymond Ng | last post Feb 2 '11 by: mwasif
please help because i got a problem on how to access my MySQL Database from Online using Navicat for MySQL.. because i got a problem connecting my Database from Online.. please help me guys to resolve this problem. thanks! here is the info provided by my domain.
2
1,413
thread by: vivek samantray | last post Feb 3 '11 by: vivek samantray
We have some batch proceeses running.In which we have some driver queries one of the queries is listed below.I am working on the performance improvement of these queries .I have done proper indexing in which performance has been incresed.But we need to furtehr impriove the performance.Can you please suggest me how can i further modify the below...
3
8,993
thread by: Brad Laine | last post Aug 5 '11 by: Giovanni Moreno
Hello, I am getting the error "Warning: mysql_connect() : php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\jlearning\index.php on line 78" My connection script is $hostname = "localhost"; $dbuser = "root"; $dbpassword = "xxxxxxxx"; $base = "image"; $link =...
2
40,315
thread by: Suzanne Montz | last post Apr 22 '14 by: vikasmorror
I am working in Talend Open Profiler software, and checking tables in Navicat Lite. A few days ago, one of the created MySQL servers gave the message error 2003 - Can't connect to MySQL server localhost (10061). Now all three of the created servers say the same thing. The last error message showed today when I opened a table and clicked...
1
1,772
thread by: Mike Beral | last post Feb 26 '11 by: dgreenhouse
I have an application which uses MySQL as its database. It runs in a hosted environment to which I have PHP access. I'd like to be able to run an Access database with linked tables so I can enhance the application with local tables and reports. I am not an experienced programmer - can anyone help me with how to set up a link from Access (I presume...
2
1,496
thread by: matt sheeyd | last post Jan 28 '11 by: matt sheeyd
Hi, I am having trouble with getting rows from a MySQL table using the like statement. I have a table which contains information relating to 5 cities. eg. table_name City COLUMN_2 COLUMN_3 Bali ... ... Vegas ... ... my sql query is currently:
1
1,739
thread by: Ishegg | last post Feb 28 '11 by: dgreenhouse
Hello. I'm programming a website in which we have sport clubs listed in a DB, structure is as follows: club (id_club, club_name, club_city) court (id_court, court_name, club_id_club (FK), court_type) court_has_sport (court_id_court, sport_id_sport) sport (id_sport, sport_name) So as you can imagine, a court may allow more than one...
2
9,682
thread by: Charles Ndethi | last post Feb 4 '11 by: Charles Ndethi
Hi, I want to represent a timetable on a mysql database. I had the idea that i should have three tables: 1.a classdetails table- containing class capacity, classroom name e.t.c 2.a class_sessions table with: start_time and end_time of session, 3.a class_unit table with: the name of the course (MAT003. et.c) there would also be...
0
1,137
thread by: Charles Ndethi | last post Jan 24 '11 by: Charles Ndethi
Here is sample pseudocode to capture the logic. Attached is the sql export. if ( lab_sessiontime.Start_time > NOW()) then lab is free for Start_time - NOW() minutes ________________________________________________________________ else if (lab_sessiontime.Start_time < NOW() ) then check if ( NOW() > lab_sessiotime.End_time if true...
2
2,552
thread by: Charli Wilson | last post Jan 23 '11 by: Charli Wilson
Hello! A rather complicated sql query that I might be makign much more difficult that it should be: I have two tables: News: newsid, datetime, newstext Picture: pictureid, datetime, imgPath Ideally I want a query to return the following kind of table:
2
2,185
thread by: vishalivadivelu | last post Feb 26 '11 by: dgreenhouse
how to list the tables that we have created ?
10
2,700
maheshwag
thread by: maheshwag | last post Jan 29 '11 by: maheshwag
I have Following Table Input OutPut ---------------------------------------------- 12.22 2.22
1
2,735
thread by: lgarciaac | last post Jan 17 '11 by: JKing
Hi everybody, I have a problem and now idea how can be solved. The MySQL timestamp is frozen. Each time I run a command that should return the current date and time, it doesn't. For instance, I log in my system (Solaris) and run root@mypc# date I receive the correct date and time. Then I log into the mysql console and run: mysql>...
1
1,217
thread by: shimmerchopra | last post Jan 19 '11 by: JKing
I have to change one table value with the date.If the date is passed away then lets say it would contain inactive else active. And the problem is that I have to do it automatically in my project.Not on any action. can anyone help me???? Thanks in advance.
12
1,861
thread by: neelmukhopadhya | last post Jan 20 '11 by: neelmukhopadhya
hi,All thanks in advance. i need a help. i am working with a sql server 2005 database. where a table contains data like INTNO, name, dateofpurchase , item now i want to search the value based on name and dateofpurchase fields. but not value is retrieving. i don't know what is happening. here is the code i am using. <code> select INTNO...
6
2,064
guillermobytes
thread by: guillermobytes | last post Jan 16 '11 by: guillermobytes
hello i have 3 tables : parent, children, childrenPictures Table parent parentId | name Table children childId | parentId | pictureId | age Table childrenPictures pictureId | imgUrl
2
4,746
omerbutt
thread by: omerbutt | last post Feb 17 '11 by: omerbutt
hi i need to store the date in the format date('YmdGis') the problem is that locally it is working perfect but when i go live it stops storing the date in this format , although it does store the date('YmdHis') MYSQL Server version: 5.0.41-community-nt MySQL client version: 5.0.41 Server version: 5.0.91-community
0
1,128
thread by: troy howard | last post Jan 13 '11 by: troy howard
Good evening, I am trying compare a value from one table to another, and have an new field populate. I am using a Case Statement in order to try to accomplish this task. The error is: Msg 156, Level 15, State 1, Line 9 Incorrect syntax near the keyword 'SELECT'. Msg 102, Level 15, State 1, Line 9 Incorrect syntax near ')'. Msg 156, Level...
0
1,075
thread by: Mani rocks | last post Jan 12 '11 by: Mani rocks
I use mysql db with many tables. i also update a table with an xls sheet!! is it possible?? then give me a solution! Also i interact my db thorugh php.. give me a sample code for that... Thank u Mani.
2
1,899
thread by: ellenr | last post Jan 12 '11 by: ellenr
I have a 600 record mysql db. It has a timestamp field, auto incr id field, several varchar fields and several smallint fields. The id field is set as primary key. The access03 has a form displaying most of the fields. It is the only table in the db. If I try to delete a record I get the msg "The doMenuItem was canceled" with no other...
0
1,703
thread by: Kim Charlene | last post Jan 11 '11 by: Kim Charlene
Hi, guys! I've created a java servlet where I can upload video with limited size. The video uploaded is being saved in the mySQL database as BLOB. How can I retrieve that BLOB and display it as the video in my webpage? I'm new to this so I'll need all the help and guidelines you guys can give me. Thank you very much in advance. Below is my servlet...
1
2,282
thread by: kimchu | last post Jan 10 '11 by: code green
Please give me the exact query i will used to undo my last statement in sql. thanks

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.