473,549 Members | 2,215 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
610
thread by: Google Mike | last post Jul 19 '05 by: Google Mike
This has been discussed before back in 2002, and then in Feb of 2003 when I did a search on Google Groups for MySQL Table Sizes. Back then, people said go here: http://www.mysql.com/doc/en/Table_size.html However, people have posted replies at the bottom of this page saying that this information is severely out of date. Okay, so has...
0
612
thread by: Robert Morgan | last post Jul 19 '05 by: Robert Morgan
------=_NextPart_000_0008_01C3600F.7D6CBCC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Shut down my Linux PC running MySqld and rebooted this morning and = cannot get mysqld up. In services when I click on mysqld I get the = message "Mysqld dead subsys locked" when i restart the server it...
0
612
thread by: Jon Miller | last post Jul 19 '05 by: Jon Miller
We've run out of disk space and would like to move either the entire MySQL = system or if possible move the databases. Can this be done without any = difficulties? Thanks Jon L. Miller, MCNE, CNS Director/Sr Systems Consultant MMT Networks Pty Ltd http://www.mmtnetworks.com.au
0
613
thread by: Michael Widenius | last post Jul 19 '05 by: Michael Widenius
Hi! >>>>> "Bennett" == Bennett Haselton <bennett@peacefire.org> writes: Bennett> Is there any way to do a long update/delete on a table such that you can Bennett> view the progress as the command runs, so that long before it's over, you Bennett> have some idea of what the total running time will be? Bennett> The way I did it was to...
5
613
thread by: Fred | last post Jul 20 '05 by: steve
Hi out there, I have problems finding a way to warn a user that another user intends soon to update the same specific row. Let me explain. User 1 get to a JSP "update customer record" page. - The page does a read of the existing record and loads it into the gui fields for edit.
0
614
thread by: Dimitri Tholen | last post Jul 19 '05 by: Dimitri Tholen
Hi all, For a project I m working on I am looking for a database with all current car-makes & models from post-WII till now. With all the car websites around I am sure this information should be available somewhere so that I can import it into my MySQL database, but I simply can't find it. Does anybody know where I can get my hands on...
1
614
thread by: Firewalker | last post Jul 20 '05 by: Chris Hope
Hello guys, I need your help with this. I have a table that ,say, has 10 rows in it. One of the columns is called ID and has an integer number. I would like to change the ID number of all the rows by ascending numbers starting from 5. For example, row number 1 has ID number 5 , row 2 has 6, row 3 has 7 and so on: 5;.;.;.;.; 6;.;.;.;.;...
0
615
thread by: Fan of P2P | last post Jul 19 '05 by: Fan of P2P
Hi, Does anyone know how I can store files (mostly pictures) into a mySQL table? I have tried the load_file function but it seems to not work. i just get NULL as the value. Any examples would be most appreciated. I am using RH9 and the latest version of mySQL. I know I should be storing the links on disk and the save a pointer in
0
615
thread by: Ted | last post Jul 19 '05 by: Ted
Is there a way to do this in mysql 5.0? in mssql they have the EXEC function for this purpose.
0
615
thread by: Ted | last post Jul 19 '05 by: Ted
Can anyone give me an example of calling a stored procedure with parameters and getting back the results? I can't find anything in the docs that talks about calling stored procedures. Ted
1
616
thread by: Byung Choi | last post Jul 19 '05 by: swdev1
Hi Anybody has implemented View for MySQL? I think it can be done outside of Database if query transformation approach is used. CREATE VIEW Model SELECT * FROM Model_CA, Brand
0
617
thread by: Peter Walleri | last post Jul 19 '05 by: Peter Walleri
I am having a problem with 2 sql statements in 1 batch file. Only the last statement executes. If I separate the statements into individual files they work fine. Are you only allowed 1 statement per file? Here is the contents of the batch file: insert into monlog (monlog_locno, monlog_custno, monlog_time, monlog_inputdate,...
0
617
thread by: Glenn Fleishman | last post Jul 20 '05 by: Glenn Fleishman
I'm trying to perform a search that I can't find any information about in MySQL's manuals, discussion groups, or on the Web. I'm used to using BerkeleyDB's Btree, so I can browse to find the alphabetically next match against a query. If I query "faction" in a BDB btree database and use DB_SET_RANGE as one of the parameters, I can get...
2
618
thread by: Randy Jackson | last post Jul 20 '05 by: Randy Jackson
First of all, I apologize in advance if this is covered somewhere in a FAQ. I did a Google search, but really couldn't find anything. I'm having a problem with a simple select query. I've got users uploading data into a database. I want to do something that seems as if it should be really simple, but it isn't so far. Basically, I want...
0
619
thread by: JohnnyOnTheSpot | last post Jul 19 '05 by: JohnnyOnTheSpot
If I select from a table and, for example, group by the month or day to determine how much activity there is day to day or month to month, it will only return months and days with a record and leave out any month or day without any records making it apear at a glance that every day or month has activity which forces me or whoever to have to...
0
619
thread by: VisionSet | last post Jul 19 '05 by: VisionSet
Is my understanding of the MySQL license correct for this situation? If I write software that uses MySQL as in client/server. I can distribute both together commercially so long as I make it clear that the source is available and maybe changed ie propagate the GPL license? TIA -- Mike W
0
620
thread by: Randell D. | last post Jul 19 '05 by: Randell D.
I'm using PHP and found it unreliable when using the time() function passed to a variable and then inserted in to the database - I can't understand why, but I think the best solution would be for me to use the timestamp function in MySQL. How do I do this though? What is the syntax if I have a table called mytbl and a column name called t...
0
620
thread by: Petr Matousek | last post Jul 19 '05 by: Petr Matousek
Hello, I have a table containing integer counters associated with particular datetime like this: CREATE TABLE `counters` ( ... `when` datetime NOT NULL default '0000-00-00 00:00:00', `counter` smallint(5) unsigned NOT NULL default '0', ...
0
621
thread by: Dan F | last post Jul 19 '05 by: Dan F
Folks, I find it useful for browsing to dump each table of a DB, i.e. psuedo-code like foreach table mysqldump --add-drop-table DB table > table This produces a file per table, and that file has the DDL and data.
0
623
thread by: D. K. | last post Jul 19 '05 by: D. K.
Hi; I have installed suse 8.2 a short while ago and at my first attempt to connect mysql (via shell and a perl dbi script) i get following error: can't connect to mysql server through socjet '/var/lib/mysql/mysql.sock'. i know this looks like a common error and I am terribly sorry if this kind of subject has been posted before but I'll...
0
623
thread by: AJ Shankar | last post Jul 19 '05 by: AJ Shankar
Hi, In the C API, is there any way to execute a query, store all the results, and somehow find the maximum realized width for each of the fields before fetching each row? Otherwise there is no way to efficiently retrieve string data. The best you can do is either allocate a static buffer of 64K (max size for a blob) or some smaller buffer...
0
624
thread by: Gary Cote | last post Jul 19 '05 by: Gary Cote
>Description: I've recently compiled mysql 4.0.14 on redhat 8.0. The installation fails, however, when running mysql_install_db. I've attached a transcript below. I gather from searching the 'net that this isn't an entirely unusual thing to happen, and is likely the result of some misconfiguration on my part, or perhaps a version...
0
626
thread by: Rob Nicholson | last post Jul 19 '05 by: Rob Nicholson
I'm doing some experimentation with MySQL to see if we can support it with our next version of our application under VB.NET. I'm trying to use the .NET MySQLDriverCS set of libraries but I seem to be struggling with some of the syntax. I'm trying fill a dataset using the following SQL command: Drop Table If Exists `Temp0`; Create...
0
629
thread by: beavenour | last post Jul 19 '05 by: beavenour
using mysql 4.0.21 is this the best way to get distinct names from both tables where shift is 20031007: SELECT m.user_full_name FROM press_maint m WHERE shift_date = 20031007 UNION SELECT p.user_full_name FROM press_prod p WHERE shift_date = 20031007
0
629
thread by: Brendan | last post Jul 19 '05 by: Brendan
Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve) CAN ANYONE HELP?? What is causing this error? is it a MYSQL or JAVA/JSP Problem, i cant seem to work this out ?

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.