Re: LAST_INSERT_ID returning 3 rows?

2001-05-03 Thread Alexander Skwar
So sprach Graeme B. Davis am Tue, May 01, 2001 at 01:09:15PM -0400: > Ok I was thinking that you had to tell LAST_INSERT_ID the table you wanted > to get the last insert id from. What if you run a web site and you have 10 > tables in a database, how can you tell what the last insert id of table 6

Question.

2001-05-03 Thread Peter Zaitsev
Hello mysql, Any ideas how this may happen: Mysql version 3.23.37, auto recovery turned on. mysql> check table layers_st50.g00stat_sitepaths; +---+---+--++ | Table | Op| Msg_type | Msg_text

rotating binary log files...

2001-05-03 Thread Mike Farley
Subject: rotating binary log files... Can anyone shed some light on how we should be rotating the binary log files? I am running version 3.23.37. In the manual it states to flush the logs, or execute a refresh command and that would close the existing log file and rename it to .1 extension an

Re: space in column name and table name, standard?.

2001-05-03 Thread Van
Rolf Hopkins wrote: > > While you can use space in column names, it is not a very good idea as some > systems can't handle spaces. Your just begging for trouble if you do use > space. Better to use underscores instead. > > - Original Message - > From: "Mohamad Ilhami" <[EMAIL PROTECTED]

RE: specifying a delimiter

2001-05-03 Thread Don Read
On 04-May-01 [EMAIL PROTECTED] wrote: > Hi Paul, > > I am now confronted with another problem. I need to also provide a CSV > version. > I need to use , seperated and " protected text. I have a copy of phpMyAdmin > that will > export to this format, but I need to use this at the shell. > I h

RE: Doubt

2001-05-03 Thread Chris Bolt
> >I've recently moved from MS-SQL Server 7.0 to mySQL. In MSSQL I > >used to give the default value 'GetDate()' for a field in the > >database with the datetime datatype. In mySQL I tried using Now(). > >But when I insert a new row the datetime field is taking :00:00 > >00:00:00 value

Re: space in column name and table name, standard?.

2001-05-03 Thread Rolf Hopkins
While you can use space in column names, it is not a very good idea as some systems can't handle spaces. Your just begging for trouble if you do use space. Better to use underscores instead. - Original Message - From: "Mohamad Ilhami" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Fri

RE: Auto_increment or manual??

2001-05-03 Thread Chris Bolt
Yes, I know from experience, it's the best way to do it. And if you need to get the number generated by an auto_increment column in an insert, you can use last_insert_id() (or mysql_insert_id() with php). > Thank you Chris with this info! This will greatly help me out, so as I see > it now, ther

Re: Install problem

2001-05-03 Thread Rolf Hopkins
These are usually FAQs but your getting both which seems strange. "mysqld ended" usually means that mysqld has already started but the other says it's not. What does "ps -ef | grep mysql" give you? Also check your permissions. Log files should be located in /var/lib/mysql - Original Messag

Re: MS Access to Mysql

2001-05-03 Thread Paul DuBois
At 8:37 AM +0700 5/4/01, Taing Nguon wrote: >Dear Sir/Madam > > I just know that there is a tool to convert database from MS Access >to Mysql, But I do not know the URL of this tool. Could you tell me this >URL? Thanks Check this page and look in the "converters" section. Might be what you w

Re: NULL value in VARCHAR fields

2001-05-03 Thread Paul DuBois
At 8:21 PM +0200 5/3/01, stefan mojschewitsch wrote: >hi list, > >i have a problem with DEFAULT NULL value in a varchar field. >mysql is version 3.23.33. > >i want to have an user field in a row, to see who has created the row. > > create table minidb.tel ( > id int UNSIGN

Re: Apache/PHP/MySQL - processes multiply until about 30, then doom

2001-05-03 Thread Paul DuBois
At 9:35 AM -0700 5/3/01, Scott Baker wrote: >That's very odd... Technically pconnect should be a lot faster, not >sure exactly why it's not. The other thing you might want to look >at is the MySQL idle timeout (or something like that). That's how >long your pconnects stay connected if they d

Re: problems downloading the Solaris version of the MySQL GUI

2001-05-03 Thread Paul DuBois
At 11:42 AM -0400 5/3/01, John Silva wrote: >Hi, > >When I try to download the Solaris version of the mySQL GUI all I get is a >screen full of control characters. Your browser doesn't recognize that it's s'posed to download the file instead of displaying it. Try shift-click or control-click or w

Re: Column Privilege Question

2001-05-03 Thread Paul DuBois
At 11:26 AM -0400 5/3/01, David C. Troy wrote: >Hi, List! > >I have a table. The table has columns A, B, and C. > >I want User1 to be able to read columns A,B, and C, but I want User2 to >only be able to read column A. > >Is this possible using MySQL columns_priv security? Yes, use the GRANT sta

Re: Obtaining warnings

2001-05-03 Thread Paul DuBois
At 9:32 AM -0400 5/3/01, Terry Gliedt wrote: >My apologies for even needing to ask this question, but I've >spend hours combing through the docs and have not figured this >out. :-( > >The problem is basically how to obtain warnings and the question >comes in a couple of flavors: > >For example if

RE: Auto_increment or manual??

2001-05-03 Thread Patrick Calkins
Thank you Chris with this info! This will greatly help me out, so as I see it now, there is absolutely no advantage to generating your own unique numbers manually - just let MySQL do it for you am I correct in this assumption? Again, thanks! Patrick # http://www.mysql.com/doc/R/e/Replication

space in column name and table name, standard?.

2001-05-03 Thread Mohamad Ilhami
Hi, I think mysql support space in column name and table name, using left tick " ` " like create table `my foo` (`foo column` char(10) primary key); But phpmyadmin is broken with this. So, What about the standard? TIA -ilham- -

Re: How to re-create mysql.sock

2001-05-03 Thread Paul DuBois
At 4:45 AM -0700 5/3/01, Arthur Smith wrote: >Hi, > >My mysql.sock file was deleted. How do I, either recreate it myself, or >have mysql do it for me. > >Art Restart the server. It will recreate the socket for you. -- Paul DuBois, [EMAIL PROTECTED]

Install problem

2001-05-03 Thread Dane Knudson
I have installed MySQL by running mysql_install_db after completing the installation of RH Linux 7.1 from scratch. The file seems to indicate that it installs OK. When I try to start the server from the command line it get a message that says "Starting mysqld daemon with databases from /var/lib

Re: Doubt

2001-05-03 Thread Paul DuBois
At 8:33 AM +0530 5/3/01, Sreevatsava Varada wrote: >Hi, > >I've recently moved from MS-SQL Server 7.0 to mySQL. In MSSQL I >used to give the default value 'GetDate()' for a field in the >database with the datetime datatype. In mySQL I tried using Now(). >But when I insert a new row the date

MS Access to Mysql

2001-05-03 Thread Taing Nguon
Dear Sir/Madam I just know that there is a tool to convert database from MS Access to Mysql, But I do not know the URL of this tool. Could you tell me this URL? Thanks Regards Taing Nguon - Before posting, please check:

Re: MYSQL C API

2001-05-03 Thread Paul DuBois
At 8:13 PM +0100 5/3/01, VVM Ravikumar Sarma Chengalvala wrote: >Hi, >1. >I am using C_API for accessing data from MYSQL. >2. >mysql_query() function returns the following values: >0 if the query is successful >-1 if the query fails. No. It returns 0 if the query is successful and NON-ZERO if it

RE: Auto_increment or manual??

2001-05-03 Thread Chris Bolt
http://www.mysql.com/doc/R/e/Replication_Features.html Replication will be done correctly with AUTO_INCREMENT, LAST_INSERT_ID, and TIMESTAMP values. > This sounds encouraging, but are there any known problems with the MySQL > replication model currently available?? Would the slave servers have t

RE: specifying a delimiter

2001-05-03 Thread Paul DuBois
>Hi Paul, >Thanks for the help. I was hoping to accomplish this with MySQl, but in the >end a script works just as good and this is just the first of several I am >using. For what it's worth I ended up using sed. Here is is if somone else >could use it: >sed "s/ /|/g" >^This is

Re: RE: Auto_increment or manual??

2001-05-03 Thread Chris Lambrou [CGL]
For replication, yes, there will be a problem, but this has anything to do with mysql. You'd have the same problem with a Sybase identity field replicated to another database server. A possible solution is this: 1. have a separate table for generating counter fields. 2. make the replicated

RE: specifying a delimiter

2001-05-03 Thread admin
Hi Paul, Thanks for the help. I was hoping to accomplish this with MySQl, but in the end a script works just as good and this is just the first of several I am using. For what it's worth I ended up using sed. Here is is if somone else could use it: sed "s/ /|/g" ^This is a tab,

Could sombody please HELP me

2001-05-03 Thread Richard Kurth
I have a major problem could somebody take a seeress look at this mysql running on cobalt raq4 I have looked through the archives and looked at the manual can not find anything to explain this nothing in the mysql log file I can not access the databases from the web browser I get empty data

RE: Auto_increment or manual??

2001-05-03 Thread Patrick Calkins
This sounds encouraging, but are there any known problems with the MySQL replication model currently available?? Would the slave servers have the same auto_inc column attributes? Could this conflict somehow with the master server?? Thanks for the quick reply! Patrick # Personnaly, i have found a

Re: Auto_increment or manual??

2001-05-03 Thread lists
Personnaly, i have found autoincrement fields to be rock solid. I use'em all over the place on a 1 Gb database, web based. Don't do it manually . You'll end up doing the same thing that mysql gives you for free. Christopher Lambrou, CGL Computer Services, Inc. Empire State Building, PMB 1

Re: Database size

2001-05-03 Thread Vadim P.
Erik, You mentioned 40Gig files on Intel platform - what OS/DBMS did you use then? How about the performance? Thanks, Vadim. Terry Katz wrote: > > Erik, > If your running Linux on an Intel machine (which I assume it is), then > you've hit Linux's limit for IA32 and 2.2.x kernels .. If you w

Re: max FULLTEXT index size?

2001-05-03 Thread Vadim P.
Sergei, I also have the same problem, but in my case the table size exceeds 2Gb, average record size being around 50Kb. I'm running 3.23.37 (i686) on a dual PIII 866/ 1Gb RAM / 36Mb SCSI RAID5 w/ RedHat 7.1 (kernel 2.4). As I type this message, MySQL is still [fulltext-] indexing one of the t

Re: Speed and querys

2001-05-03 Thread Jeremy Zawodny
On Thu, May 03, 2001 at 11:48:44PM +0200, Amund Steinsvik wrote: > If I do a query in a table that contains 350.000 rows and each row > is about 20 bytes (the tables total size is about 2MB) will a query > take up a lot of the processor-speed? Not if the table is indexed properly... -- Jeremy D

Auto_increment or manual??

2001-05-03 Thread Patrick Calkins
Hello! I have a database with about 10 tables in it. In every table I have a RECORD_ID field so that I can at least uniquely identify a row if I need to, also its used in relationships. The question is should I use the AUTO_INCREMENT for this, or should I manually generate this value, getting the

HELP can not see data or tables in database

2001-05-03 Thread Richard Kurth
mysql running on cobalt raq4 have look through the archives and looked at the manual I can not access the databases from the web browser I get empty databases When in at telnet erased all the databases including mysql ran mysql_install_db logged back in with the web browser and the tables were

Re: Dual Processors and Threads?

2001-05-03 Thread Jeremy Zawodny
On Thu, May 03, 2001 at 12:12:35PM -0700, Bryan Coon wrote: > > Would someone briefly explain to me how MySQL uses threading in a > multi-processor environment? Yes. > Currently I have a Dual 1gHz processor box running RedHat 7.1 with > the smp kernel. Does this automatically take care of thing

Speed and querys

2001-05-03 Thread Amund Steinsvik
If I do a query in a table that contains 350.000 rows and each row is about 20 bytes (the tables total size is about 2MB) will a query take up a lot of the processor-speed? And how will the a query work on a web-page? Fast, or? All the entrys in the table is int-variables. - amund

Re: NULL value in VARCHAR fields

2001-05-03 Thread stefan mojschewitsch
If you just reply to this message, and include the entire text of it in the reply, your reply will go through. However, you should first review the text of the message to make sure it has something to do with MySQL. You have written the following: hi, "j.urban" wrote: > > Your statement con

Yahoo! Auto Response

2001-05-03 Thread jitenderjoshi
I recevied your mail thanx Jitender Joshi Original Message: X-Track: 15: 40 Received: from web.mysql.com (192.58.197.162) by mta112.mail.yahoo.com with SMTP; 03 May 2001 14:28:44 -0700 (PDT) Received: (qmail 28090 invoked by uid 7797); 3 May 2001 21:02:14 - Mailin

Re: NULL value in VARCHAR fields

2001-05-03 Thread stefan mojschewitsch
[EMAIL PROTECTED] wrote: > > Stefan, > > When you insert a row in a table and you do not specify a value > for a field, mySQL (and any other DBMNS?) will do the following: > > 1. If field accepts null: it will set the value of that field > to null > > 2. If field DOES NOT accept null - no defa

How can I statup MYSQL???

2001-05-03 Thread Siomara Pantarotto
This is very basic I know but... When I ran the costumized bugzilla appl. of my company I got this error: Content-type: text/html Software error: Can't connect to database server. at globals.pl line 90. For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving this error message a

Re[2]: can not see data or tables in database

2001-05-03 Thread B. van Ouwerkerk
>B.> Perhaps a problem with rights.. (settings in phpmyadmin not being >saved?).. >B.> Not using phpmyadmin myself.. did read about it. > >None of the programs on the web can access the mysql not just >phpmyadmin. It was working fine before yesterday and now it just wont >work. is there anything

Re: Problem with multi-part keys

2001-05-03 Thread Bob Hall
>Hello All, > >I've bumped into a problem and can't figure out how to solve it. >If anyone has a spare minute to give me a hint on what's wrong >I'd apreciate it a lot! > >The problem is that when I add 'use index ()' >to my queries, MySQL doesn't always use the whole key, >but decides what left-m

Re: Agregrate in joined table result

2001-05-03 Thread Bob Hall
>I have this tables : > >mysql>select * from bid_history; >+---++-+---+--+-+ >| domain_id | bid_time | user_id | price | bid_type | proxy_price | >+---++-+---+--+-+ >| 1 |

Re: JOIN query gone awry

2001-05-03 Thread Bob Hall
>Greetings. > >I have two tables that are identical in structure, but each contains >data for different years. > >Here is the desc of the first table: > >mysql> desc counts2000; >+-+-+--+-+-+---+ >| Field | Type

SET type columns and MYSQL_FIELD->length

2001-05-03 Thread Zak Greant
Good Day! I am working on the MySQL section of a reference manual for PHP and need to confirm one small detail on the length of SET type columns. It looks like the MYSQL_FIELD->length value for SET columns is the length of a string containing the SET elements separated by commas. Is this right?

Re[2]: can not see data or tables in database

2001-05-03 Thread Richard Kurth
Hello B., Thursday, May 03, 2001, 11:42:39 AM, you wrote: >>I set up a couple of databases last night in mysql and every thing is >>working just fine. Today when I try to access the data it is not there >>Using phpMyAdmin when I look at the databases that are completely empty >>of tables and da

Re: Dual Processors and Threads?

2001-05-03 Thread Derrick T. Woolworth
Interesting question. This really depends on multiple things (operating system, table locking, etc.) LinuxThreads are implemented more like multiple processes sharing memory, so you will see a benefit from having multiple processors as these threads (processes) are scheduled across both processo

NULL value in VARCHAR fields

2001-05-03 Thread lists
Stefan, When you insert a row in a table and you do not specify a value for a field, mySQL (and any other DBMNS?) will do the following: 1. If field accepts null: it will set the value of that field to null 2. If field DOES NOT accept null - no default value set: it will set the field's va

MYSQL C API

2001-05-03 Thread VVM Ravikumar Sarma Chengalvala
Hi, 1. I am using C_API for accessing data from MYSQL. 2. mysql_query() function returns the following values: 0 if the query is successful -1 if the query fails. 3. At the same time mysql-C_API documentation specifies that it returns a non zero number if query is a failure.Does the function retur

Dual Processors and Threads?

2001-05-03 Thread Bryan Coon
Would someone briefly explain to me how MySQL uses threading in a multi-processor environment? Currently I have a Dual 1gHz processor box running RedHat 7.1 with the smp kernel. Does this automatically take care of things? Is mysql parallelized at all, or is this inherent in the threading? Ins

NULL value in VARCHAR fields

2001-05-03 Thread stefan mojschewitsch
hi list, sorry for posting again, i will learn it. i have a problem with DEFAULT NULL value in a varchar field. mysql is version 3.23.33. i want to have an user field in a row, to see who has created the row. create table minidb.tel ( id int UNSIGNED NOT NULL AUTO_

Re: What do I do now?

2001-05-03 Thread tyler
stat error seems like a permissions error. I'd guess it's a permissions problem. Perhaps figure out what user the process trying to stat the file is running under and then figure out what permissions that user has on the file in question. (Also check the directory chain going up for permissi

NULL value in VARCHAR fields

2001-05-03 Thread stefan mojschewitsch
hi list, i have a problem with DEFAULT NULL value in a varchar field. mysql is version 3.23.33. i want to have an user field in a row, to see who has created the row. create table minidb.tel ( id int UNSIGNED NOT NULL AUTO_INCREMENT, tel char(16)

Re: can not see data or tables in database

2001-05-03 Thread B. van Ouwerkerk
>I set up a couple of databases last night in mysql and every thing is >working just fine. Today when I try to access the data it is not there >Using phpMyAdmin when I look at the databases that are completely empty >of tables and data that also includes the mysql database. If I start up >telnet

can not see data or tables in database

2001-05-03 Thread Richard Kurth
I set up a couple of databases last night in mysql and every thing is working just fine. Today when I try to access the data it is not there Using phpMyAdmin when I look at the databases that are completely empty of tables and data that also includes the mysql database. If I start up telnet and go

problems with privileges, MySQL for Windows 3.23.xx

2001-05-03 Thread MySQL-Mail
Hello, how I can set Permission on Tables and Columns? I have create a user "Hugo" with no permissions in the user, hosts and db table. Then I type: grant select(Sp1,Sp2), update(Sp2) on MyTestBase.Tab1 to hugo@localhost; grant select on MyTestBase.Tab1 to hugo@localhost; flush privileges; in th

Re: Apache/PHP/MySQL - processes multiply until about 30, then doom

2001-05-03 Thread Scott Baker
That's very odd... Technically pconnect should be a lot faster, not sure exactly why it's not. The other thing you might want to look at is the MySQL idle timeout (or something like that). That's how long your pconnects stay connected if they don't transfer any traffic. I think it defaults

Re: Doubt

2001-05-03 Thread Eric Fitzgerald
There are a few options here. First off, when making the query, just put the NOW() statement into the tableit's only a few extra keys to type, and it really isn't that difficult. The second option is using the TIMESTAMP type...take a look, it's probably what your looking for :) - Origin

Re: Apache/PHP/MySQL - processes multiply until about 30, then doom

2001-05-03 Thread Gary Bickford
Thanks for the reply!, Scott! I considered changing the number of allowed connections but I figured this would just defer the problem, as the root problem was the increasing number of connections. Last night I went through the entire website looking for code that used mysql_pconnect() in PHP,

RE: windoze and batch files

2001-05-03 Thread Wayne Kodie
One of the best Windows clients for editing queries is urSQL (http://www.urbanresearch.com/software/utils/urbsql/urquery.php) --- Sander Pilon <[EMAIL PROTECTED]> wrote: > > But... there are numerous mysql clients available, > also for windows. I > bet you can find one with fine edit capabilities

Re: Rolling back of a transaction

2001-05-03 Thread Paul DuBois
At 5:34 PM +0800 3/14/01, Sudhir wrote: >Hi, > >I am a Sudhir, working as a Software Consultant in Unidux Technologies, >Singapore. My job here is to suggest Technology. Now we are planning to >purchase license for the application server JRun. Currently we are >developing a procurement engine i

query in UDF??

2001-05-03 Thread Danny Cardonne
hi can i do a query in a udf? if so how? if not then it's more complicated: i want for security reason that a certain user make a query to the database and receive the result, but i don't want the user to modify the query except the where field=variable, so i want to create a function that do th

problems downloading the Solaris version of the MySQL GUI

2001-05-03 Thread John Silva
Hi, When I try to download the Solaris version of the mySQL GUI all I get is a screen full of control characters. I am attempting this from the following web page: www.mysql.com/downloads/gui-clients.html Any help you can give would be appreciated. John Silva Senior Engineer Mesh Networks, Inc

Column Privilege Question

2001-05-03 Thread David C. Troy
Hi, List! I have a table. The table has columns A, B, and C. I want User1 to be able to read columns A,B, and C, but I want User2 to only be able to read column A. Is this possible using MySQL columns_priv security? Thanks, Dave ===

BDB tables.

2001-05-03 Thread Diego Zabaleta
For some reason the tables BDB corrupt. Last night it leaves running programs (implemented in C) that consults and modifies these tables and in morning one of the indexes was corrupt. All the programs use mysql_close to close the connection to the database. Look the query i did today of morning

only 194 error messages

2001-05-03 Thread Jacco Rens
i have a strange problem here; /usr/local/libexec/mysqld: Fatal error: Error message file '/usr/local/share/mysql/english/errmsg.sys' had only 194 error messages, but it should have at least 205 error messages. Check that the above file is the right version for this program! 010501 22:23:59 m

Benchmark

2001-05-03 Thread Raf Geusens
Hi, I wanna know how many INSERT queries my MySQL server can resolve in a second? What benckmark should I use or how should I do this? I've read something in the manual about looking for sql-bench, but it's nowhere on my pc. Is it possible that it's not installed?? Greetings, Raf _

Re: User

2001-05-03 Thread Stefan Linges
Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) Bye.. Stefan Linges - Original Message - From: "Marco Battistoni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 1:17 PM Subject: U

RE: windoze and batch files

2001-05-03 Thread Sander Pilon
No editing?!? Psch... louzy programmers. ( see http://www.jpsoft.com/index.htm for proof that consoles in NT/2K consoled can edit just fine, etc.) But... there are numerous mysql clients available, also for windows. I bet you can find one with fine edit capabilities in the contrib section. ( I

Re: User

2001-05-03 Thread Ansgar Becker
> I'm new with Mysql database there is anybody that could explain to me how to > create an user in a specific database with encrypted password? simply use MySQL-Front (www.mysqlfront.de) - adding users with specific restrictions is very easy there. Greetings, Ansgar -

Re: Solaris Installation problems

2001-05-03 Thread Matthew P. Marino
I think I remember getting around it by installing "binutils" from the GNU site. That's generaly the problem with solaris. Open source is GNU centric, Solaris prior to 2.8 is definately NOT. "EXT-Chung, Kenneth" wrote: > >Thanks. I got the gtar from the download page. > >Now I have unpa

Obtaining warnings

2001-05-03 Thread Terry Gliedt
My apologies for even needing to ask this question, but I've spend hours combing through the docs and have not figured this out. :-( The problem is basically how to obtain warnings and the question comes in a couple of flavors: For example if one does "update tbl set my_int='21.3 a' where my_key

User

2001-05-03 Thread Marco Battistoni
I'm new with Mysql database there is anybody that could explain to me how to create an user in a specific database with encrypted password? I'll tank you very much Marco _ Get Your Private, Free E-mail from MSN Hotmail a

Re: Mysql++ API Compilation troubles

2001-05-03 Thread Sinisa Milivojevic
GGreg . writes: > Hi, > > I've installed the mysql++ RPM under my Mandrake 7.2 and it works. > After that, yhen I'm trying to compile a src file : > > > #include > #include > #include > > int main() { > >Connection con("MISDIS","localhost","root","DisMis"); > >Query query = con

Re: GUI client for large SELECT query results

2001-05-03 Thread Sinisa Milivojevic
Andreas Metzner writes: > Hello all, > > I'm using the libmysql.dll API to interface to a mySQL-Server Database. > The GUI client is generic, so the user can bind any SELECT query on > a large database (Logging database). > > How can I prevent the mySQL client to use mysql_store_result (), > sin

Doubt

2001-05-03 Thread Sreevatsava Varada
Hi, I've recently moved from MS-SQL Server 7.0 to mySQL. In MSSQL I used to give the default value 'GetDate()' for a field in the database with the datetime datatype. In mySQL I tried using Now(). But when I insert a new row the datetime field is taking :00:00 00:00:00 value. Please let

[PHP-DB] Re: help - strange error message`

2001-05-03 Thread Peter Pentchev
On Thu, May 03, 2001 at 08:01:11AM -0400, Marc Bragg wrote: > Hi: > > Installed redhat 7.0 and had multiple mysql problems, but php4 from the > disc seemed fine. Updated mysql to 3.23.37, now it works fine, but "php" > gives me: > > PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysq

AW: [PHP-DB] help - strange error message`

2001-05-03 Thread Stefan Siefert
you could download the sources of php (4.0.5) and compile it with following commands: ./configure --with-mysql=/your/path/to/mysql (append here all the other configurations you would like to use) make make install and normaly this should work.. you might need to edit the httpd.conf file .. st

How to re-create mysql.sock

2001-05-03 Thread Arthur Smith
Hi, My mysql.sock file was deleted. How do I, either recreate it myself, or have mysql do it for me. Art __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ --

[PHP-DB] help - strange error message`

2001-05-03 Thread Marc Bragg
Hi: Installed redhat 7.0 and had multiple mysql problems, but php4 from the disc seemed fine. Updated mysql to 3.23.37, now it works fine, but "php" gives me: PHP Warning: Unable to load dynamic library '/usr/lib/php4/mysql.so' - libmysqlclient.so.9: cannot open shared object file: No such file

...IN SHARE MODE will be ...LOCK IN SHARE MODE in 3.23.38

2001-05-03 Thread Heikki Tuuri
Hi! To resolve a problem in the MySQL parser I decided to change the syntax of SELECT ... FROM ... WHERE ... IN SHARE MODE so that an additional word LOCK is added before IN SHARE MODE. The change will be effective in 3.23.38. An example: SELECT * FROM T WHERE A = 5 LOCK IN SHARE MODE; The ben

Re:compatible with oracle

2001-05-03 Thread Heikki Tuuri
Nandana, MySQL does not currently support stored procedures or triggers. The solution is to code the logic in the application. If Java allows the use of interpreted code, you could maybe store some Java procedures in TEXT fields in your database. Then your applications could fetch them from the

Re: Rolling back of a transaction

2001-05-03 Thread Greg Cope
Sudhir wrote: > > Hi, > > I am a Sudhir, working as a Software Consultant in Unidux Technologies, > Singapore. My job here is to suggest Technology. Now we are planning to > purchase license for the application server JRun. Currently we are > developing a procurement engine in Java, using MyS

Re: mysqld daemon ended!!

2001-05-03 Thread B. van Ouwerkerk
>Please read "Security" section of the manual to find out how to run mysqld >as root! >010503 16:57:03 Aborting > >mysqld ended on Thu May 3 16:57:03 SGT 2001 > >anyone have idea on this? Perhaps exactly what the message says :-) You tried to run mysqld as root. You should run mysqld as user

Rolling back of a transaction

2001-05-03 Thread Sudhir
Hi, I am a Sudhir, working as a Software Consultant in Unidux Technologies, Singapore. My job here is to suggest Technology. Now we are planning to purchase license for the application server JRun. Currently we are developing a procurement engine in Java, using MySql as the data base server.

Agregrate in joined table result

2001-05-03 Thread Iwan Garnadi
I have this tables : mysql>select * from bid_history; +---++-+---+--+-+ | domain_id | bid_time | user_id | price | bid_type | proxy_price | +---++-+---+--+-+ | 1 | 2001050

Mysql++ API Compilation troubles

2001-05-03 Thread GGreg .
Hi, I've installed the mysql++ RPM under my Mandrake 7.2 and it works. After that, yhen I'm trying to compile a src file : #include #include #include int main() { Connection con("MISDIS","localhost","root","DisMis"); Query query = con.query(); query << "select * from Wizard"

mysqld daemon ended!!

2001-05-03 Thread Rachel-MY
mysqld started on Thu May 3 16:57:03 SGT 2001 Please read "Security" section of the manual to find out how to run mysqld as root! 010503 16:57:03 Aborting mysqld ended on Thu May 3 16:57:03 SGT 2001 anyone have idea on this?

RE: tty beeps uncontrollably when hitting after mysqld

2001-05-03 Thread Robin Keech
It's just a quick thought, and may not be relevant at all, but ... If you have a tail on the mysql log file that is doing something with blobs (binary objects), sometimes the bell character turns up and causes your system to beep. It worried me untill I realised what was happening. May not be m

Inserting Date Formats ??

2001-05-03 Thread Andy Woolley
Hi, I have a date in a string like so "May 02, 2001 09:15:57" and this date is not a standard MySQL date and so it wont insert correctly. My question is this, is there a function to convert the date to something that MySQL can understand or do I have to convert it manualy? Thanks in advance. A

install into raq4

2001-05-03 Thread LoSiuWong
How can I install mysql into raq4?

Re: help please

2001-05-03 Thread B. van Ouwerkerk
>I just want to create a webbased mailing tool using >PHP/Mysql...I've done using the fuction mail()...But if i need to have a >option 'Attachment' then in which way i can do that. This_is_a_PHP_question.. have a look at the manual at www.php.net also, checkout www.phpbuilder.com www.devshed.co

Re: Mysqld

2001-05-03 Thread B. van Ouwerkerk
At 22:00 2-5-01 -0600, Al Green wrote: >When I try to run mysqld I get the following message. How do I rebuild the >.sock >file. It is not where it should be and the one's that are there are 0 bites >Any suggestions The size is right. If the .sock can't be found point to the right location in y