RE: Database Dump

2003-11-17 Thread Christensen, Dave
Swati, You can also use mysqldump to be part of the mechanism to move the database(s) from one computer to another. Something like: Prompt mysqldump --add-drop-table databasename -uuserid -ppassword | mysql --host=your.new.host.IP databasename -uuserid -ppassword -Original Message-

RE: Backup question.

2003-11-12 Thread Christensen, Dave
Yes, you can do it like this: Prompt mysqldump --add-drop-table --host=source.IP.addr.spec -uuser -ppassword databasename | mysql -uuser -ppassword I've found that it helps things if you add --no-data to the source side on the first pass, then remove that clause and run it again. Dave

RE: Windows to Linux

2003-11-04 Thread Christensen, Dave
If you can mount the Windows partitions under LINUX, you can copy file files from partition to partition. If that's not possible, you'll have to export the data under Windows to another location/media, then boot into LINUX and load the data into your LINUX database. You can dump the databases

RE: I can't start mysqld

2003-10-20 Thread Christensen, Dave
In the data directory for MySQL, you should find a file titled hostname.err. What is the contents of that file? -Original Message- From: Hamid Nouri [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 5:07 PM To: [EMAIL PROTECTED] Subject: I can't start mysqld Hi there I have

RE: mysqldump ?

2003-10-15 Thread Christensen, Dave
Are you attempting any sort of editing of the exported file? We routinely dump our production database, which includes several tables that hold TIF images, with no problems at all. In fact, we'll also transfer data between servers with a command like: Mysqldump --add-drop-table databasename

RE: Getting the value of a row you just inserted

2003-10-09 Thread Christensen, Dave
Here's the link to the on-line manual page that will help you. http://www.mysql.com/doc/en/example-AUTO_INCREMENT.html -Original Message- From: Dan Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:06 PM To: [EMAIL PROTECTED] Subject: Getting the value of a row you

RE: how to export data from multiple tables

2003-10-08 Thread Christensen, Dave
What machines are you working with at each end? Internal network? -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:19 AM To: Andy Eastham; Mysql List Subject: Re: how to export data from multiple tables any idea, how to export data to a

RE: printing reports

2003-10-07 Thread Christensen, Dave
You can, via ODBC, connect to MySQL using OpenOffice or Star Office which would give you a no-cost, or low-cost, option for producing reports from MySQL. There are a number of execellent web articles about interfacing either of these with MySQL. Try searching via Google. -Original

RE: Help With a DATETIME Query

2003-10-07 Thread Christensen, Dave
I've worked on applications like this one in a court scheduling application. Since trials can run several days, this was an issue I had to deal with, too. The solution I set up was to have a table like your bookings table, then have another table containing available time slots for each eligible

RE: Install question Linux RPMs

2003-10-02 Thread Christensen, Dave
You're going to have to see where the files were installed. It was easier with Red Hat 7.3 because the Kpackage program would tell you where the files were installed. I don't know how you find that info out with Red Hat 8.0 or 9.0. -Original Message- From: Harrell, Roger [mailto:[EMAIL

RE: Unable to Create DB Connection

2003-09-10 Thread Christensen, Dave
Did you set up a my.ini file in your Windows directory? If so, what is in the file? -Original Message- From: Scott D. Spiegler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 10:24 AM To: Christensen, Dave; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: Unable

RE: installation question...missing 'host.frm'

2003-09-10 Thread Christensen, Dave
Craig, Errno 13 indicates that you have some permission issues. Check the data directories you've set up to make sure that they are owned by the user/group mysql. -Original Message- From: Craig A. Finseth [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 1:42 PM To: [EMAIL

RE: Unable to Create DB Connection

2003-09-09 Thread Christensen, Dave
Scott, You should be able to find a file titled 'mysql.err' in your data directory. This file will contain information that should help you get started. -Original Message- From: Scott D. Spiegler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 6:59 AM To: [EMAIL PROTECTED]

External Access

2003-08-22 Thread Christensen, Dave
This may seem like a stupid question, but I haven't been able to track down an answer yet. We're going to try to access a remote MySQL server that is protected behind a firewall. I know that we need to open a port, such as 3306, to access the server. My question is whether that port requires

Odd thing

2003-06-19 Thread Christensen, Dave
We're trying to set up some scripts that will run mysqldump to create export files for each table in a database that can be downloaded to a test server and reloaded. What's weird is that the files are created with the ? character as the trailing character in the file name and we can't open them

Additional info.

2003-06-19 Thread Christensen, Dave
The server (our development test server) is running Red Hat 8.0 and Mysql 4.1. The remote test server to which we're trying to transfer data is running Red Hat 7.3 and Mysql 4.013. David Christensen Brokers International, Ltd. 1200 E Main St PO Box 160 Panora, IA 50216 (800) 362-1097 or (641)

RE: Odd thing

2003-06-19 Thread Christensen, Dave
To: Christensen, Dave; [EMAIL PROTECTED] Cc: Dickey, Dallas Subject: RE: Odd thing [snip] We're trying to set up some scripts that will run mysqldump to create export files for each table in a database that can be downloaded to a test server and reloaded. What's weird is that the files are created

RE: Odd thing

2003-06-19 Thread Christensen, Dave
Yes, we'd be creating the file on a Windows box, then transferring the file to either a Samba share or using FTP to the LINUX machine. -Original Message- From: Matthew Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 9:54 AM To: Christensen, Dave; 'Jay Blanchard'; [EMAIL

RE: Odd thing

2003-06-19 Thread Christensen, Dave
] mailto:[EMAIL PROTECTED] ] Sent: Thursday, June 19, 2003 10:10 AM To: Dickey, Dallas; Christensen, Dave; [EMAIL PROTECTED] Subject: RE: Odd thing [snip] mysqldump AgentAdminDB activitylookup -u UserName -pPassword //var/data/mysql/activitylookup.sql mysqldump AgentAdminDB agencies -u UserName

RE: Odd thing

2003-06-19 Thread Christensen, Dave
When I run this script file, I receive errors like this: [EMAIL PROTECTED] work]# ./BackupByTable.bat mysqldump: Got error: 1146: Table 'AgentAdminDB.MissedPages' doesn't exist when doing LOCK TABLES -Original Message- From: Christensen, Dave [mailto:[EMAIL PROTECTED] Sent: Thursday

RE: Odd thing

2003-06-19 Thread Christensen, Dave
Oops! Sorry. Deleted that 'temp' table and didn't remove it from my script file. -Original Message- From: Christensen, Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 11:34 AM To: 'Jay Blanchard'; Dickey, Dallas; '[EMAIL PROTECTED]' Subject: RE: Odd thing Importance: High

RE: Odd thing

2003-06-19 Thread Christensen, Dave
- From: gerald_clark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 12:19 PM To: Christensen, Dave Cc: '[EMAIL PROTECTED]' Subject: Re: Odd thing Christensen, Dave wrote: Oops! Sorry. Deleted that 'temp' table and didn't remove it from my script file. -Original Message- From

MySQL 4.1 and MyCC

2003-06-11 Thread Christensen, Dave
I upgraded my test MySQL server yesterday to 4.1 and I'm now receiving an error when I try to connect using MyCC. The error is ERROR 1249: Client does not support authentification protocol requested by server. Consider upgrading MySQL client. I've tried to find a solution on the website, but

RE: MySQL 4.1 and MyCC

2003-06-11 Thread Christensen, Dave
. -Original Message- From: Karam Chand [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 1:30 PM To: Christensen, Dave Subject: Re: MySQL 4.1 and MyCC MyCC does not support MySQL 4.1 coz the the library to connect to MySQL 4.1 has changed. Karam --- Christensen, Dave

RE: MySQL 4.1 and MyCC

2003-06-11 Thread Christensen, Dave
Burden Cc: Christensen, Dave; '[EMAIL PROTECTED]' Subject: Re: MySQL 4.1 and MyCC At 23:18 +0100 6/11/03, Peter Burden wrote: Paul DuBois wrote: At 11:55 -0500 6/11/03, Christensen, Dave wrote: I upgraded my test MySQL server yesterday to 4.1 and I'm now receiving an error when I try to connect using

RE: MySQL 4.1 and MyCC

2003-06-11 Thread Christensen, Dave
To: Paul DuBois Cc: Christensen, Dave; '[EMAIL PROTECTED]' Subject: Re: MySQL 4.1 and MyCC Paul DuBois wrote: At 11:55 -0500 6/11/03, Christensen, Dave wrote: I upgraded my test MySQL server yesterday to 4.1 and I'm now receiving an error when I try to connect using MyCC. The error is ERROR

RE: Need Help About mysql.sock ERROR

2003-06-10 Thread Christensen, Dave
:-) I think the first issue is to make sure that the server is running. Typically the 'sock' file issue will solve itself if the server is running. -Original Message- From: Ernesto Silva [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 12:38 AM To: [EMAIL PROTECTED] Subject: Re:

RE: ERROR 2002: Can't connect to local MySQL server through socke t '/var/lib/mysql/mysql.sock' (2)

2003-06-09 Thread Christensen, Dave
Is your server daemon running? -Original Message- From: Pratchaya Chatuphian [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:25 AM To: [EMAIL PROTECTED] Subject: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ERROR 2002: Can't

RE: ERROR 2002: Can't connect to local MySQL server through socke t '/var/lib/mysql/mysql.sock' (2)

2003-06-09 Thread Christensen, Dave
You should be able to find a file in your data directory titled hostname.err. What is the content of that file? If the server is having problems running, you'll more than likely find information in that .err file. -Original Message- From: Christensen, Dave [mailto:[EMAIL PROTECTED

RE: NEWBIE QUESTION: Copying Databases from local to server

2003-06-05 Thread Christensen, Dave
You can see more in-depth descriptions in the documentation, but for a simple shot at migrating data and database structures from one machine to another, you can try: Prompt mysqldump --add-drop-table lots of variety here -uroot -ppassword | mysql --host=new.host.ip.add -uroot -ppassword You

RE: mysql query output get wrapped

2003-06-04 Thread Christensen, Dave
Since this in running in Windows, I don't think you will have much luck in a simple console display. While you can change size properties for Window and Screen Buffer, these sizes are ONLY for length and you can't really do much for horizontal size. What I'd suggest tying is to run mysql as a

RE: database copy

2003-06-04 Thread Christensen, Dave
If you check the documentation about mysqldump, you'll find the command line syntax for using a combination of mysqldump on the source machine and mysql pumping to the target machine. It's simple, fast and everything is there to work just fine. -Original Message- From: Paul Najman

RE: Red Hat linux database to Mac OS X

2003-06-04 Thread Christensen, Dave
Not that particular move, but have used mysqldump/mysql combo to move between linux--windows and back. Works well. -Original Message- From: Greg Grasmehr [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:19 PM To: [EMAIL PROTECTED] Subject: Red Hat linux database to Mac OS X

RE: How to fill an Blob with binary data

2003-05-27 Thread Christensen, Dave
What is the source of the binary data you want to use to fill the blob? -Original Message- From: Mike Hillyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 12:23 PM To: Adam Clauss; [EMAIL PROTECTED] Subject: RE: How to fill an Blob with binary data Like I said, for Image and

RE: Query formulation question

2003-04-04 Thread Christensen, Dave
Here's a link to an article that discusses how to set up cross-tab queries. http://www.devshed.com/Server_Side/MySQL/MySQLWiz/page1.html -Original Message- From: Michael Shulman [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:08 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]

RE: Suggestions for choosing GUI Language that has a MySQL DB bac kend

2003-04-03 Thread Christensen, Dave
:-) My offering would be to suggest developing in Delphi or Kylix, depending on the platform. David Christensen Brokers International, Ltd. 1200 E Main St Panora, IA 50216 (641) 755-2775 [EMAIL PROTECTED] -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent:

MyCC

2003-03-25 Thread Christensen, Dave
I've noticed something with MySQL Control Center. Today I wanted to browse an entire table, which has roughly 35,000 rows. I unchecked the limit to 1000 box in the General Options and double-clicked on the table. Once MyCC started to display the table, my free memory dropped to 4 MB and

RE: 4.0.12 RPM's

2003-03-24 Thread Christensen, Dave
23, 2003 5:36 AM To: Christensen, Dave Cc: 'mysql users' Subject: RE: 4.0.12 RPM's -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Fri, 21 Mar 2003, Christensen, Dave wrote: I downloaded the RPM's from the Chicago mirror site and saved the files in a directory /data/downloads/mysql. I

4.0.12 RPM's

2003-03-21 Thread Christensen, Dave
Good Morning! I'm trying to install the MySQL RPM's on a newly set up RH 8.0 box. Things seem to go well until I try to install the server RPM, which fails stating that it can't find libmysqlclient.so.10 on the computer. What do I have to do to get around this problem? Thanks! David

RE: 4.0.12 RPM's

2003-03-21 Thread Christensen, Dave
Brokers International, Ltd. 1200 E Main St PO Box 160 Panora, IA 50216 (800) 362-1097 or (641) 755-2775 [EMAIL PROTECTED] -Original Message- From: Lenz Grimmer [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:56 AM To: Christensen, Dave Cc: 'mysql users' Subject: Re: 4.0.12

RE: Licence Free Import/Export for Access?

2003-02-13 Thread Christensen, Dave
Since DBScripter uses ODBC, you'll have to set up a Data Source in the ODBC manager in Windows for any database you wish to access with the product. For that you'll need an Access driver, but you can download that driver from MS at no cost. It would be nice if DBScripter would be ported to LINUX

RE: Licence Free Import/Export for Access?

2003-02-12 Thread Christensen, Dave
There's a relatively low-cost ODBC utility called DBScripter that does a pretty good job creating scripts for exporting ddl and data from ODBC datasources. It allows you to build dialects for server-based SQL variations. I don't think that there's a current MySQL dialect, but looks pretty simple

RE: Licence Free Import/Export for Access?

2003-02-12 Thread Christensen, Dave
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:45 PM To: mysql users Cc: j.urban; Christensen, Dave Subject: Re: Licence Free Import/Export for Access? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave J, et al -- [re DBScripter and urSQL] Those are nice tools, but if I read you

RE: Still Cannot Get MySQL To Run

2003-01-08 Thread Christensen, Dave
The problem you are having is a result of the permissions that are set on the data and log directories that are identified in my.cnf, and is documented in the MySQL Reference Manual. If you change the ownership of the data and log directories to mysql (both user and group), the error should go

RE: Query mysql on another server

2003-01-07 Thread Christensen, Dave
I can see where it would be nice to be able to do that. -Original Message- From: Stefan Hinz, iConnect (Berlin) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 4:06 PM To: Christensen, Dave; 'Chris Boget'; [EMAIL PROTECTED]; Paul DuBois Subject: Re: Query mysql on another

RE: Query mysql on another server

2003-01-07 Thread Christensen, Dave
You can use the command line mysql with the host option, i.e. --host=hostname, to connect to another machine. Likewise, you could set up a data source using ODBC to look at the database on the second host machine through which you could generate queries against the tables on the other host's

RE: [PHP] Re: PHP and MySQL bug

2003-01-07 Thread Christensen, Dave
Then go to c:\winnt\system32\drivers\etc and make the changes in the hosts file that you will find there. -Original Message- From: Nuno Lopes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 1:25 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP and MySQL

RE: host.frm

2003-01-02 Thread Christensen, Dave
Again, this specific problem is mentioned in the reference guide. From that and my experiences, we're looking at a permissions issue. Hannes needs to look at the permissions on his data and logging directories to make sure that they are set to the default mysql:mysql. -Original

RE: Select Date Help

2003-01-02 Thread Christensen, Dave
I think you could also use: WHERE YEAR(date) = 2003 AND MONTH(date) = 01 -Original Message- From: Keith C. Ivey [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 5:09 PM To: [EMAIL PROTECTED] Cc: Max Clark Subject: Re: Select Date Help On 2 Jan 2003, at

RE: HELP for mysql ended error

2002-12-31 Thread Christensen, Dave
If you check the MySQL reference guide, you'll see that the Errorcode 13 is indicating that you don't have your permissions set up correctly for your data and log directories. Once you fix that, you should (hopefully) be okay. David Christensen Brokers International, Ltd. 1200 E Main St PO Box

RE: Problems / Reset password / switching to decafe

2002-12-31 Thread Christensen, Dave
Rick, What messages are you seeing in the .err file in your logging directory? I typically run my servers with the KDE up and I use the service configuration tool to restart services. Have you tried to fire up MySQLCC and connect to your server? Dave -Original Message- From: Richard