473,544 Members | 1,825 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.
0
1,228
thread by: aPRSComp | last post Nov 29 '05 by: aPRSComp
Which account privileges are required to execute CREATE DATABASE ? Are the minimum required privileges or does MySQL user must have ALL privileges to execute CREATE DATABASE ? Peter
0
1,085
thread by: Python | last post Nov 29 '05 by: Python
I'd liek to ask what are the soultions when there are a lot of connections to the db ?? For examlpe in how are builidng the db for mmo web browser based games. There are 15000 users online ... ??
1
1,343
thread by: aPRSComp | last post Nov 29 '05 by: Bill Karwin
MySQL v5.0.3 -- does this perhaps indicate v5.0.30 ? Or is it kind of like v5.0.03 ? There is MySQL v5.0.15. Can one safely assume that v5.0.15 is newer than v5.0.3 ?
4
1,917
thread by: pk_pk | last post Nov 28 '05 by: pk_pk
hi, i've searched quite a bit, but cant find any post relating to sql command for setting database passwords. anyone know how? thanks pk
1
3,678
thread by: invinfo | last post Nov 28 '05 by: Gordon Burditt
keywords: mysql accounting currency decimal fixed "floating point" Quoting the manual: DECIMAL)] If D is omitted, the default is 0. If M is omitted, the default is 10. All basic calculations (+, -, *, /) with DECIMAL columns are done with a precision of 64 decimal digits. Re: Floating Point limitations and using IEEE format floating...
1
16,753
thread by: aPRSComp | last post Nov 28 '05 by: Bill Karwin
CREATE TABLE `test`.`buildings` ( `building` VARCHAR NOT NULL DEFAULT '', `location` VARCHAR(45) NOT NULL DEFAULT '', PRIMARY KEY(`building`) ) ENGINE = InnoDB; MySQL Error Number 1064
1
1,397
thread by: Larry Wade | last post Nov 28 '05 by: Bill Karwin
I am familiar with Microsoft Access, but I have never used MySQL. Does MySQL have the ability to set up Queries and Reports like Access, or do you need separate software in order to do this? It appears PHP is always mentioned in conjuction with MySQL. I really don't want to learn another scripting language and I am not familiar with Unix. Any...
0
1,265
thread by: aPRSComp | last post Nov 28 '05 by: aPRSComp
Hi, Has anyone seen where using SELECT * truncates characters ? mysql> SELECT * FROM countries; +-------------+-----------+ | country | capital | +-------------+-----------+ |ghanistan | Kabul |lbania | Tirane
48
3,814
thread by: phillip.s.powell | last post Nov 28 '05 by: phillip.s.powell
MySQL 3.23.58 - 4.0.17 (yep, several database server instances, don't ask) I have database Spring with table Students I have database Summer with table Students I am tasked to produce a query of all students in both tables with no duplicates. No clue whatsoever.
3
1,677
thread by: BPDudeMan | last post Nov 27 '05 by: jerry gitomer
Hi There, I've got one table that is constantly being added to (every few seconds). I've got a bunch of users that need to report from this table. What's the best way to setup the tables? Create a second table and updates it with tblLive data every let's say 15 minutes and then report off of that? Is there a way to synch tables that...
0
1,537
thread by: klenwell | last post Nov 27 '05 by: klenwell
I wondered if anyone could point me in the direction of a file that lists given names and alternate names such that if you searched on a name such as Robert, you could retrieve all the alternatives (Rob, Robbie, Bob, etc.) I've Googled this up and down, and while I've come up with a lot of name lists (and a post by someone somewhere else in...
3
1,792
thread by: effect1 | last post Nov 26 '05 by: effect1
My company sells widgets. In our 'shopping cart' that we're building, we want to list out the price for each widget. The problem is that the price varies depends upon which widget package (out of 10) as user selects, as well as which website (out of 8) they visit. So, 80 different possible prices per widget (and there are lots of different...
0
1,812
thread by: xiuchuanli | last post Nov 26 '05 by: xiuchuanli
I install Fedora 4 with web server, after that I installed mysql 5.0.15. Now I can connect to mysql from command line and mysql-administrator and mysql-query-browser. But when I try to test to connect from php code, it told me that "can not connect to local mysql through /tmp/mysql.sock. /tmp/mysql.sock is my sock file to connect and...
1
1,091
thread by: pjhyett | last post Nov 26 '05 by: Aggro
What I'd like is given a map id, grab all of the users that point to that map id. Can anybody point me in the right direction? Map ----- id ..... User -------
1
1,174
thread by: JimmyHoffa | last post Nov 25 '05 by: bstjean
Hi, Just wondering if anyone could help me optimise this query, it can take up to 3 seconds to execute which makes me think theres probably a better way to do what i'm doing.. SELECT MAX(Latitude) as "MaxLat",MIN(Latitude) as "MinLat",MAX(Longitude) as "MaxLong",Min(Longitude) as "MinLong", count(filtered.serialno) as "count" FROM (
4
1,648
thread by: JimmyHoffa | last post Nov 25 '05 by: Dave Brown
Hi hoping someone might be able to help with this issue, The following query is one i'd love to be able to use, but cant... select nodeid,max(datetimestamp) as datetimestamp,latitude,longitude from trackinglogs group by nodeid order by datetimestamp desc; I'm trying to get the latest rows according to datetimestamp column,
3
4,923
thread by: Sonnich | last post Nov 25 '05 by: Markus Popp
While trying to shorten my files, I tried optimize table - later I found that I need: mysqlcheck -u root -p[password[ --all-databases --analyze --optimize (thanks to Markus Popp). But it gives this error: mysqlcheck: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when executing 'OPTIMIZE...
0
1,045
thread by: JimmyHoffa | last post Nov 25 '05 by: JimmyHoffa
Hi hoping someone might be able to help with this issue, The following query is one i'd love to be able to use, but cant... select nodeid,max(datetimestamp) as datetimestamp,latitude,longitude from trackinglogs group by nodeid order by datetimestamp desc; I'm trying to get the latest rows according to datetimestamp column,
2
1,167
thread by: invinfo | last post Nov 25 '05 by: Good Man
I don't recall exactly what options I selected in September when I installed the beta v5.0.4 on my development machine, But, as I started to develop and then backup data, I noticed that my tables are all using the storage engine: InnoDB. Can someone jog my memory and tell me what options cause that to be the default ? I'm on the fence, b/w...
2
2,730
thread by: xiuchuanli | last post Nov 25 '05 by: xiuchuanli
I install Fedora 4 with web server, after that I installed mysql 5.0.15. Now I can connect to mysql from command line and mysql-administrator and mysql-query-browser. But when I try to test to connect from php code, it told me that "can not connect to local mysql through /tmp/mysql.sock. /tmp/mysql.sock is my sock file to connect and...
1
3,749
thread by: kdemanawa | last post Nov 24 '05 by: Bill Karwin
Hi. I would like to implementation an application that will connect to a MySQL DB and just monitor a table if a new row is being inserted. If a new row was inserted a sub_method will be triggered. Otherwise, the application will just be idle. Can this be done with MySQL? Thanks!
1
29,379
thread by: paul | last post Nov 24 '05 by: Bill Karwin
Hi Everyone I've had a database query page running on a site for a few months: (http://www.learningdirectory.info/search.php) with no problems. The search page contains the following query: SELECT CourseID, tblCourseInfo.ProviderID, tblCourseInfo.OccupationID, tblCourseInfo.AuthorityID, tblOccupations.Occupation,...
0
1,085
thread by: paul | last post Nov 24 '05 by: paul
Hi Everyone I've had a database query page running on a site for a few months: (http://www.learningdirectory.info/search.php) with no problems. The search page contains the following query: SELECT CourseID, tblCourseInfo.ProviderID, tblCourseInfo.OccupationID, tblCourseInfo.AuthorityID, tblOccupations.Occupation,...
1
3,360
thread by: jlee | last post Nov 23 '05 by: Gordon Burditt
I'm pretty much a newbie on mysql, and I need some help. I am running mysql Ver 12.22 Distrib 4.0.24, for portbld-freebsd5.4 (i386) on a server hosting an active website. The site's developer uses his own php shopping cart to receive customer orders. The configuration was done via cPanel with no external modifications - which produced...
3
2,389
thread by: Richard Marsden | last post Nov 23 '05 by: Richard Marsden
Here's another strange error I'm getting when using ODBC to access MySQL. This time ODBC is being more informative, although all the documentation I've looked at, claims that the function in question (SQLSetPos) should not return the error! I have a result set that has been opened for update. I am trying to delete the current row with a...

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.