473,771 Members | 2,365 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.
2
1,374
thread by: peter.mathews | last post Jul 23 '05 by: peter.mathews
Hello, I have ran a script in which I created a temporary table and dropped the table at the end of the script. Unfortuantely not only was this table dropped but all of the other tables in the database were dropped as well. Unfortuantely, the backups are made every day at midnight. So all of the information for the past 23 hours has been...
1
2,228
thread by: Gregory.Spencer | last post Jul 23 '05 by: steve
Hi there, What is big for a MYSQL DB. E.g. I am working on someone elses DB that has a many-many link table that notes what emails are sent out to what users. Therefore each time a message gets sent out from this application, if it got sent to 500 users for example, 500 rows would be added to this table. If the amount of users was...
2
1,601
thread by: Gregory.Spencer | last post Jul 23 '05 by: Gregory.Spencer
Help, I have a query in MySQL which gets the details of members of a club. e.g. Select * from members. however, in the same query I want to return the amount of "functions" the member has attended. therefore there is a "functions" table and because functions has a
5
12,673
thread by: news | last post Jul 23 '05 by: Dave Uhring
I just installed Slackware 10.1 Still need to install some missing needed libraries, but I think that's unrelated. Every time it boots up, or I try "/etc/rc.d/rc.mysqld start" I get this: Starting mysqld daemon with databases from /var/lib/mysql STOPPING server from pid file /var/run/mysql/mysql.pid mysqld ended
5
3,309
thread by: Kajol | last post Jul 23 '05 by: jerry gitomer
Hi All, can u plz tell me how to import data from mysql to another database. & how to export data from anotherdata base to mysql Thanx for ur Advice Regards Kajol
1
1,679
thread by: E Arredondo | last post Jul 23 '05 by: Bill Karwin
Is there a way to create a MYSQL table or database using a text file that countains the Field name and the lenght ? that is : fields.txt ----- start ---------- name,10 address,15
2
1,370
thread by: mia456789 | last post Jul 23 '05 by: Good Man
We use the MS access database, I want to convert the database to mysql db , could suggest is there any tools / methods that I can export the table and data from access , and import it to the new mysql db ? thx in advance.
2
3,816
thread by: Nigi | last post Jul 23 '05 by: swdev2
I've made a mysql database with php front end which, in part, contains mailing lists. I've used a mailto: link to create a new email with their names in the bcc: field. Unfortunatley their is a limit on the size of a mailto: field that outlook can accept, and so it can't be used to mail more than about 80 people at a time. Our lists go up...
2
4,679
thread by: Kajol | last post Jul 23 '05 by: Kajol
Hi All, I am using server version: 4.1.11-nt on windows 2000. I want to create a table with ID as auto increment and initialise it with a starting value of 1000. I am trying to do following DROP TABLE IF EXISTS `demo`;
2
5,042
thread by: Tom D | last post Jul 23 '05 by: Tom D
I'm running MySQL 4.1 under Linux. I need to have a MyISAM table with more than 4G rows of data. I've read the manual regarding the MAX_ROWS option on tables. This table has a fixed row length, with 17 bytes per row. MySQL simply won't set the ROW_LENGTH greater than 4G. When I use an ALTER TABLE to set it higher, it acts as though it...
13
12,161
thread by: Dark Rayden | last post Jul 23 '05 by: Felix Geerinckx
Hi! I recently got a strange problem and I have no idea on the solution. I try to do a ORDER BY statement with a fixed order of values, because my client want's it this way. My approach is like this: $the_row = "'A', 'B', 'B b', 'C', 'D d', 'E'";
1
3,575
thread by: yasaswi | last post Jul 23 '05 by: Bill Karwin
When I run select now(); or select current_timestamp(), I see the output like "2005-04-19 02:50:14". By reading the documentation I thought the the hour value should be in military format namely 14, but instead I see 02. How can I fix this problem? I have MySQL 4.1.10a database running on RH 9.0 server. Thanks, Yasaswi
1
8,609
thread by: Dom | last post Jul 23 '05 by: Bill Karwin
Hey there, I would like to execute the following query to perform deletes. Unfortunately it only returns a list of the delete queries without actually performing them. How can I get the deletes to be executed? I am running MySQL 4.0.20-standard. $query = "SELECT concat('DELETE FROM temp WHERE prodid = \'',prod.ProdID, '\';') AS '' FROM...
4
1,268
thread by: Alexandre Jaquet | last post Jul 23 '05 by: steve
Hi when I read the documentation about how the query it's doesn't clear my mind about how it can optimize db quering. When I include a SQL_CACHE clause in a query, does the datas are stored in memory or not ? If for exemple I've a series of queries : SELECT FROM WHERE SELECT FROM WHERE
1
3,074
thread by: vineyard_saker | last post Jul 23 '05 by: steve
Hi, I am new to MySql and I want to practice querying by playing around a relatively large and complex database without having to enter all the data myself. Is there a publicly available MySql database on the internet which I could download? (the "world" database on the MySql website is really to simple to be useful). Of course, it would...
1
330
thread by: Murphy | last post Jul 23 '05 by: steve
I have installed MySQL under Linux and it's now running... I have created a DB and a few tables and populated them... How do I query the tables now ? I have enter SQL statements at the command prompt however some are quite complex and surely don't have to be reentered every time ? I found a package called "query browser" but to date...
2
3,903
thread by: Carlos Eduardo Peralta | last post Jul 23 '05 by: steve
Hello: Can i update a MySQL database with just copy the files MYI MYD and FRM in the right dir? I know this work. The question is how MySQL manage the user that are usig that database in that moment. Can i close all the connection to that database? How can i tell MySQL deamon that don´t use that database any more? Thank you in advance.
0
1,026
thread by: steve | last post Jul 23 '05 by: steve
As my other post shows, every once in a while I get MYI corruption (anyone can help with the other post?). Now, how do I emulate MYI corruption on the dev machine. Can I somehow force MYI to become corrupt, how? Dev machine is Windows, deployment machine is Linux. -- Posted using the http://www.dbforumz.com interface, at author's...
1
1,500
thread by: steve | last post Jul 23 '05 by: steve
I run some large databases on my Linux server, and every once in a while the MYI files get corrupted. Can someone tell me the probable causes of MYI corruption, and how I go about diagnosing/fixing the problem. -- Posted using the http://www.dbforumz.com interface, at author's request Articles individually checked for conformance to...
3
7,879
thread by: Jonathan | last post Jul 23 '05 by: Thomas Bartkus
Hi all! For a match schedule I would like to find all possible combinations of teams playing home and away (without teams playing to themselves of course). I now the simple version works something like this: For a (very) simple table containing three rows like this: row 1: A
0
2,199
thread by: Michael Dyson | last post Jul 23 '05 by: Michael Dyson
M. Michael DYSON DIRECTEUR-ADJOINT SOCIÉTÉ DE SÉCURITÉ SARL. TEL.00229 20 21 80 Cotonou République du Bénin Email:michaeldyson2005@latinmail.com Bonjour . Je sais que mon message sera d’une grande surprise quand t-il vous parviendra. Donc, je vous présente toutes mes excuses. Je vous écris sincèrement dans le but d’obtenir votre...
1
1,131
thread by: Craig Keightley | last post Jul 23 '05 by: Craig Keightley
I have the following table: id | supRef | pmRef | status | ===================== 1 | 1 | 1 | 3 | 2 | 1 | 2 | 2 | 3 | 1 | 3 | 2 | 4 | 1 | 4 | 3 | 5 | 2 | 1 | 2 |
0
1,101
thread by: Beyonder | last post Jul 23 '05 by: Beyonder
Download MySQL Auto Backup at http://www.swordsky.com to help you. Backups your data automatically from MySQL Database Server Don't worry about your data on MySQL anytime. They will not to be lost because I am running! Powerful data backup function Powerful task scheduler Various auto-run time options
1
1,079
thread by: Boefje | last post Jul 23 '05 by: Felix Geerinckx
What I want is fairly simpel, but I can't figure it out. Problem: Select the article (the articles) with the highest price for each article group. table articles --------------- id=1, description='article1', price=100, articlegroupid=4 id=2, description='article2', price=200, articlegroupid=5
0
1,631
thread by: Ken Bass | last post Jul 23 '05 by: Ken Bass
I am getting this error message when trying to use prepared statements. My code is: /* mysock is an opened MYSQL* connection */ char *querystr = "SELECT * FROM foo"; MYSQL_STMT *stmt = mysql_stmt_init(mysock); /* returns non-null */ if (mysql_stmt_prepare(stmt, querystr, strlen(querystr)) { /* error */

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.