Re: Creating / Lookup Users For Database

2009-04-22 Thread Uma Bhat
Carlos, 1) To list the users having access to a database, mysql> SELECT user,host from mysql.db where db = "**"; In your case that would be mysql> SELECT user,host from mysql.db where db = "*cal*"; 2) To grant access to a *NEW *user, you can use GRANT statement along with IDENTIFIED BY clause,

Re: Oracle , what else ?

2009-04-22 Thread Joshua D. Drake
On Tue, 2009-04-21 at 15:19 +0200, Martijn Tonies wrote: > Hey Gilles, > > > >After MySQL bought by the java maker, > > and now Sun bought by Oracle, > > > >what are we gonna run as RDBMS ? How about PostgreSQL? Joshua D. Drake -- PostgreSQL - XMPP: jdr...@jabber.postgresql.org Consulting

Re: Mysql on Ultrasparc T2 and floating point performance

2009-04-22 Thread mos
At 03:49 PM 4/22/2009, you wrote: On Wed, Apr 22, 2009 at 1:27 PM, Dan Nelson wrote: > In the last episode (Apr 22), Rod Heyd said: > > I've been running mysql on a T1000 (Ultrasparc T1) system for several > > years now, and while I've been happy with the performance overall, the > > poor float

Re: Mysql on Ultrasparc T2 and floating point performance

2009-04-22 Thread Rod Heyd
On Wed, Apr 22, 2009 at 1:27 PM, Dan Nelson wrote: > In the last episode (Apr 22), Rod Heyd said: > > I've been running mysql on a T1000 (Ultrasparc T1) system for several > > years now, and while I've been happy with the performance overall, the > > poor floating point capability on these system

Re: Mysql on Ultrasparc T2 and floating point performance

2009-04-22 Thread Dan Nelson
In the last episode (Apr 22), Rod Heyd said: > I've been running mysql on a T1000 (Ultrasparc T1) system for several > years now, and while I've been happy with the performance overall, the > poor floating point capability on these systems has been a disappointment. > Recently, I got my hands on a

Mysql on Ultrasparc T2 and floating point performance

2009-04-22 Thread Rod Heyd
Hi, I've been running mysql on a T1000 (Ultrasparc T1) system for several years now, and while I've been happy with the performance overall, the poor floating point capability on these systems has been a disappointment. Recently, I got my hands on a Sunfire T5420 system and I've been comparing the

Re: Creating / Lookup Users For Database

2009-04-22 Thread George Larson
On Wed, Apr 22, 2009 at 3:11 PM, Carlos Williams wrote: > On Wed, Apr 22, 2009 at 3:04 PM, Carlos Williams wrote: >> Now I did create that new database called 'forums' and would like to >> create a new user who has access only to that specific database from >> localhost. I can't seem to find the

Re: Creating / Lookup Users For Database

2009-04-22 Thread Carlos Williams
On Wed, Apr 22, 2009 at 3:04 PM, Carlos Williams wrote: > Now I did create that new database called 'forums' and would like to > create a new user who has access only to that specific database from > localhost. I can't seem to find the command via Google on how I create > the user and grant access

Re: Creating / Lookup Users For Database

2009-04-22 Thread Carlos Williams
On Wed, Apr 22, 2009 at 2:45 PM, George Larson wrote: >>> Is this what you mean? > > SELECT * FROM user; Yes. That was exactly what I was looking for. Thank you for that info. Still learning these commands so pardon my ignorance. Now I did create that new database called 'forums' and would like

Re: Creating / Lookup Users For Database

2009-04-22 Thread George Larson
On Wed, Apr 22, 2009 at 2:40 PM, Carlos Williams wrote: > On Wed, Apr 22, 2009 at 2:40 PM, Carlos Williams wrote: >> On Wed, Apr 22, 2009 at 11:53 AM, Brent Baisley wrote: >>> All user information is stored in the mysql database. If you want to >>> see a list of users that have been created, que

Re: Creating / Lookup Users For Database

2009-04-22 Thread Carlos Williams
On Wed, Apr 22, 2009 at 2:40 PM, Carlos Williams wrote: > On Wed, Apr 22, 2009 at 11:53 AM, Brent Baisley wrote: >> All user information is stored in the mysql database. If you want to >> see a list of users that have been created, query the user information >> table. >> select User, Host from my

Re: my final 1064 error

2009-04-22 Thread Peter Brawley
Matthew >SELECT Vouchers.VoucherID, Vouchers.VoucherCode, Vouchers.StartDate, Vouchers.EndDate, Vouchers.Discount, Vouchers.VoucherTypeID >FROM Vouchers >WHERE (((DateDiff('d',[StartDate],Date()))>=0) AND ((DateDiff('d',[EndDate],Date()))<=0)); Square brackets and your DateDiff syntax are MS

my final 1064 error

2009-04-22 Thread Matthew Stuart
Here is my final problem that I am struggling to overcome... SELECT Vouchers.VoucherID, Vouchers.VoucherCode, Vouchers.StartDate, Vouchers.EndDate, Vouchers.Discount, Vouchers.VoucherTypeID FROM Vouchers WHERE (((DateDiff('d',[StartDate],Date()))>=0) AND ((DateDiff('d', [EndDate],Date()))<=0

Re: 1064 errors

2009-04-22 Thread Peter Brawley
Matthew, >CREATE PROCEDURE 'x'.'CrossSelling' () >BEGIN >SELECT TOP 5 OrderDetails.ProductID, OrderDetails.ProductName, Count(OrderDetails.ProductID) AS CountOfProductID >FROM OrderDetails >WHERE (((OrderDetails.OrderID) In (select OrderID from OrderDetails where ProductID=[pid]))) >GROUP

1064 errors

2009-04-22 Thread Matthew Stuart
Hi, I have several procedures that I have taken from an old Microsoft database, and I have tired to use them in a MySQL 5.1.32 database, but I am getting errors when trying to input them. There are three in total that I am struggling with and would appreciate some guidance... This is a cros

Creating / Lookup Users For Database

2009-04-22 Thread Carlos Williams
This seems to be a simple beginer question for MySQL and I have searched online but I wanted to ask before I really confuse myself. I have MySQL running on Linux and right now I have created a 2nd production database: mysql> show databases; +-+ | Database

Re: I thin'k MySQL will be the 'Oracle Personal Edition'

2009-04-22 Thread Lin Chun
XE store up to 4GB of user data, use up to 1GB of memory, and use one CPU on the host machine. On Wed, Apr 22, 2009 at 3:51 PM, Thomas Pundt wrote: > José I. Merino schrieb: > >> The main question is: >> >> Will Oracle permits a cheaper DB in his portfolio with almost the same >> reliability tha

Re: I thin'k MySQL will be the 'Oracle Personal Edition'

2009-04-22 Thread Arthur Fuller
The revenue that MySQL has accrued to date comes (obviously) from the support contracts. Oracle has no interest in derailing this revenue stream. It may well slow down the version cycle, which may be a good thing, but that aside, I cannot see Oracle killing the MySQL stream. There's no argument tha

Re: I thin'k MySQL will be the 'Oracle Personal Edition'

2009-04-22 Thread Thomas Pundt
José I. Merino schrieb: The main question is: Will Oracle permits a cheaper DB in his portfolio with almost the same reliability than his main and expensive DB? It already has, it's called "Oracle Express Edition". Ciao, Thomas -- MySQL General Mailing List For list archives: http://lists.

I thin'k MySQL will be the 'Oracle Personal Edition'

2009-04-22 Thread José I . Merino
The main question is: Will Oracle permits a cheaper DB in his portfolio with almost the same reliability than his main and expensive DB? Ok. MySQL is the main database in a wide 'open source' community. That people never will bought Oracle to build a phpBB forum or to install Joomla, but what hap

mysqldump.exe gives "Access Denied" for user

2009-04-22 Thread John Sun
Gurus, I'm running a Windows Server 2003 cmd shell script to backup my databases using: %mysqldir%\bin\mysqldump -B %dbname% -u %dbuser% -p%dbpass% > %bkupdir%\dbBkup_%dbname%_%yy%%mm%%dd%.sql @ECHO Done! New File: dbBkup_%dbname%_%yy%%mm%%dd%.sql It's been running fine until I've had to change