RE: [PHP-DB] mysql to access

2004-12-17 Thread Norland, Martin
 -Original Message-
 From: Perry, Matthew (Fire Marshal's Office)
[mailto:[EMAIL PROTECTED] 
 
 Does anyone know of a FREE program that exports MySQL to access?  The
trial versions of the
 ones I have downloaded do not export all the records of the database.

If you can get a .csv export of your database, you should be able to
bring that into access no problem.  phpMyAdmin is able to generate such
a beast (access would probably prefer the 'excel csv export' - what with
microsoft and all) - and I'm sure many other programs can easily
generate csv exports.

- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] mysql to access

2004-12-17 Thread Bastien Koert
why not just link the mysql to access?
bastien
From: Perry, Matthew (Fire Marshal's Office) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] mysql to access
Date: Fri, 17 Dec 2004 09:33:39 -0600
Does anyone know of a FREE program that exports MySQL to access?  The trial
versions of the ones I have downloaded do not export all the records of the
database.
- Matthew
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP-DB] mysql to access

2004-12-17 Thread Perry, Matthew (Fire Marshal's Office)
Here is the problem:

I am currently using MySQL and PHP for this application but have realized
recently that the bulk of my work is setting up three forms (add, view,
modify) for each table I create.  It takes hours for each table with MySQL
and PHP but takes only minutes with Access.  Also, other office
administrators have been trained in Access instead of MySQL and will not be
able to update my tables directly or set up new forms if I only use MySQL
and PHP.

On the other hand, PHP and ASP are easier and more flexible with user
control options.  Also, directly entering SQL can be much more efficient
than using Access's embedded SQL applications.  

I really would like to exploit the advantages of both databases but do not
know the best means by which to do this.  We are creating a standard that
will be followed by everyone in our department and need the best and most
efficient solution possible.  People move around from different positions
constantly and it seems we are making radical changes to our system every
year.  Here are three questions with which I still need help:

1) Would it really make sense to split the data management between two
linked databases (Access and MySQL) or would this just cause problems?
2) If I must use Access, should I use ASP(grrr) instead of PHP?
3) If I must use Access, should I use MS SQL Server(grrr) instead of MySQL?

Thank you all for your time and patience.

- Matthew


-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access

it would depend on what you need the app to do...if you are looking to use 
access to do reporting and/ or act as a front end, then it may be 
feasible...

more details, if you care to share them, may help in this consideration

bastien

From: Perry, Matthew (Fire Marshal's Office) [EMAIL PROTECTED]
To: Bastien Koert [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
Date: Fri, 17 Dec 2004 09:59:25 -0600

You mean link the tables?  I haven't yet considered this.
- Matthew

-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 9:42 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access

why not just link the mysql to access?

bastien

 From: Perry, Matthew (Fire Marshal's Office) 
[EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] mysql to access
 Date: Fri, 17 Dec 2004 09:33:39 -0600
 
 Does anyone know of a FREE program that exports MySQL to access?  The 
trial
 versions of the ones I have downloaded do not export all the records of 
the
 database.
 
 - Matthew
 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] mysql to access

2004-12-17 Thread Miles Thompson
Use ODBC to use MySQL from either Access or VB  (or any other language!)
MT
At 12:25 PM 12/17/2004, Perry, Matthew (Fire Marshal's Office) wrote:
Here is the problem:
I am currently using MySQL and PHP for this application but have realized
recently that the bulk of my work is setting up three forms (add, view,
modify) for each table I create.  It takes hours for each table with MySQL
and PHP but takes only minutes with Access.  Also, other office
administrators have been trained in Access instead of MySQL and will not be
able to update my tables directly or set up new forms if I only use MySQL
and PHP.
On the other hand, PHP and ASP are easier and more flexible with user
control options.  Also, directly entering SQL can be much more efficient
than using Access's embedded SQL applications.
I really would like to exploit the advantages of both databases but do not
know the best means by which to do this.  We are creating a standard that
will be followed by everyone in our department and need the best and most
efficient solution possible.  People move around from different positions
constantly and it seems we are making radical changes to our system every
year.  Here are three questions with which I still need help:
1) Would it really make sense to split the data management between two
linked databases (Access and MySQL) or would this just cause problems?
2) If I must use Access, should I use ASP(grrr) instead of PHP?
3) If I must use Access, should I use MS SQL Server(grrr) instead of MySQL?
Thank you all for your time and patience.
- Matthew
-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
it would depend on what you need the app to do...if you are looking to use
access to do reporting and/ or act as a front end, then it may be
feasible...
more details, if you care to share them, may help in this consideration
bastien
From: Perry, Matthew (Fire Marshal's Office) [EMAIL PROTECTED]
To: Bastien Koert [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
Date: Fri, 17 Dec 2004 09:59:25 -0600

You mean link the tables?  I haven't yet considered this.
- Matthew

-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 9:42 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access

why not just link the mysql to access?

bastien

 From: Perry, Matthew (Fire Marshal's Office)
[EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] mysql to access
 Date: Fri, 17 Dec 2004 09:33:39 -0600
 
 Does anyone know of a FREE program that exports MySQL to access?  The
trial
 versions of the ones I have downloaded do not export all the records of
the
 database.
 
 - Matthew
 



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP-DB] mysql to access

2004-12-17 Thread Bastien Koert
see embedded comments
bastien
From: Perry, Matthew (Fire Marshal's Office) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
Date: Fri, 17 Dec 2004 10:25:09 -0600
Here is the problem:
I am currently using MySQL and PHP for this application but have realized
recently that the bulk of my work is setting up three forms (add, view,
modify) for each table I create.  It takes hours for each table with MySQL
and PHP but takes only minutes with Access.  Also, other office
administrators have been trained in Access instead of MySQL and will not be
able to update my tables directly or set up new forms if I only use MySQL
and PHP.
Add / Edit should be the same page. You can add a little code to make some 
field uneditable if they should not be. You need to find ways to speed up 
the process. There is code available that will take your table structure and 
dump all the fields and sql statements, to initialize the variables with 
defaults. (get it here (http://www.weberdev.com/get_example-3978.html)). 
Then its mainly a matter of creating the forms and plugging it all together. 
Using a web form is even easier than using an access form, since all the 
code for menus and stuff is hiddedn away and links and form provide the 
navigation


On the other hand, PHP and ASP are easier and more flexible with user
control options.  Also, directly entering SQL can be much more efficient
than using Access's embedded SQL applications.
The other thing is that to install this based on browser technology (ie 
ASP/PHP) you only need to install in one place, on the server. Otherwise 
you'll need to install it on every computer where the user is (time, travel 
and VERSIONING considerations here). Its easy and quicker to make those 
changes on a webserver than going around to all the users and making sure 
that they use the correct access application.


I really would like to exploit the advantages of both databases but do not
know the best means by which to do this.  We are creating a standard that
will be followed by everyone in our department and need the best and most
efficient solution possible.  People move around from different positions
constantly and it seems we are making radical changes to our system every
year.  Here are three questions with which I still need help:


1) Would it really make sense to split the data management between two
linked databases (Access and MySQL) or would this just cause problems?
NO SPLITTING! Splitting the data is askng for a data management 
nightmare. Synchronicity will become a major problem as data changes in one 
place and not another.


2) If I must use Access, should I use ASP(grrr) instead of PHP?
DO NOT USE ACCESS, its not nearly robust enought to handle the application, 
lack of ability to handle multiple users, security etc


3) If I must use Access, should I use MS SQL Server(grrr) instead of MySQL?
not unless you have big dollars to spend? Its just not worth it.
Thank you all for your time and patience.
- Matthew
-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
it would depend on what you need the app to do...if you are looking to use
access to do reporting and/ or act as a front end, then it may be
feasible...
more details, if you care to share them, may help in this consideration
bastien
From: Perry, Matthew (Fire Marshal's Office) 
[EMAIL PROTECTED]
To: Bastien Koert [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access
Date: Fri, 17 Dec 2004 09:59:25 -0600

You mean link the tables?  I haven't yet considered this.
- Matthew

-Original Message-
From: Bastien Koert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 9:42 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mysql to access

why not just link the mysql to access?

bastien

 From: Perry, Matthew (Fire Marshal's Office)
[EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] mysql to access
 Date: Fri, 17 Dec 2004 09:33:39 -0600
 
 Does anyone know of a FREE program that exports MySQL to access?  The
trial
 versions of the ones I have downloaded do not export all the records of
the
 database.
 
 - Matthew
 




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] MySQL denying access to...everything

2004-08-18 Thread Peter Ellis
This is a MySQL error on the server side - you need to make sure that
whatever user you're signing into MySQL with has access to modify the
database/table you're using.  I believe the GRANT keyword in MySQL is
what you need -- look at the MySQL reference manual:

http://dev.mysql.com/doc/

Good luck!
-- 
Peter Ellis - [EMAIL PROTECTED]
Web Design and Development Consultant
naturalaxis | http://www.naturalaxis.com/


On Tue, 2004-08-17 at 23:03 -0400, [EMAIL PROTECTED] wrote:
 I finally got my PHP5 installation to support MySQL and now this. When I try 
 to edit anything on mysqlgui.exe, it just gives me this error: error in 
 database function: access denied for user @localhost...
 
 I don't know if this has to do with my php installation or what. If not, 
 flame me for all I care. I'm too sick of all this mess to care.
 
 ...somebody help...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] MySQL denying access to...everything

2004-08-18 Thread Paul
Also, take care with the new password hashing:
http://dev.mysql.com/doc/mysql/en/Password_hashing.html

Paul


On Wed, 18 Aug 2004 00:56:08 -0700, Peter Ellis [EMAIL PROTECTED] wrote:
 This is a MySQL error on the server side - you need to make sure that
 whatever user you're signing into MySQL with has access to modify the
 database/table you're using.  I believe the GRANT keyword in MySQL is
 what you need -- look at the MySQL reference manual:
 
 http://dev.mysql.com/doc/
 
 Good luck!
 --
 Peter Ellis - [EMAIL PROTECTED]
 Web Design and Development Consultant
 naturalaxis | http://www.naturalaxis.com/
 
 
 
 
 On Tue, 2004-08-17 at 23:03 -0400, [EMAIL PROTECTED] wrote:
  I finally got my PHP5 installation to support MySQL and now this. When I try
  to edit anything on mysqlgui.exe, it just gives me this error: error in
  database function: access denied for user @localhost...
 
  I don't know if this has to do with my php installation or what. If not,
  flame me for all I care. I'm too sick of all this mess to care.
 
  ...somebody help...
 
 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] MySQL denying access to...everything

2004-08-18 Thread Doug Thompson
[EMAIL PROTECTED] wrote:
I finally got my PHP5 installation to support MySQL and now this. When I try 
to edit anything on mysqlgui.exe, it just gives me this error: error in 
database function: access denied for user @localhost...

I don't know if this has to do with my php installation or what. If not, 
flame me for all I care. I'm too sick of all this mess to care.

...somebody help...
http://dev.mysql.com/doc/mysql/en/User_Account_Management.html
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] MySQL denying access to everything...Part 2

2004-08-18 Thread Peter Ellis
This isn't the appropriate list to direct this question to.  I suggest
one of the MySQL help lists or a careful reading of the documentation,
which tells you exactly what you need to know.
-- 
Peter Ellis - [EMAIL PROTECTED]
Web Design and Development Consultant
naturalaxis | http://www.naturalaxis.com/

On Wed, 2004-08-18 at 14:43 -0400, [EMAIL PROTECTED] wrote:
 Ok, thanks to many people's help, I have managed to install MySQL right and 
 login as root with no password. However, MySQL will not allow to log in to my 
 databases as root. Is this normal, because when I try it brings back the old 
 access denies: [EMAIL PROTECTED] thing.
 
 So I thought maybe I just have to figure out how to create accounts, and then 
 configure them to be all access. I have read the manual on  creating 
 accounts, but for some reason it doesn't work. Here is how it goes:
 
 I access mysql.exe and put in this:
 
 mysql GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost'
 
 
 Then I hit enter. It starts me off with an indented down arrow and I finish 
 the GRANT command.
  
 - IDENTIFIED BY 'password' WITH GRANT OPTION;
 
 Then I hit enter. IT gives me another down arrow. I hit enter again and again 
 and again and all it does is give me more indented down arrows...  What now?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] MySQL denying access to everything...Part 2

2004-08-18 Thread balwantsingh
mysql grant all privileges on *.* to [EMAIL PROTECTED] identified by
'password' with grant option;

try this out

balwant


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 12:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] MySQL denying access to everything...Part 2


Ok, thanks to many people's help, I have managed to install MySQL right and
login as root with no password. However, MySQL will not allow to log in to
my
databases as root. Is this normal, because when I try it brings back the old
access denies: [EMAIL PROTECTED] thing.

So I thought maybe I just have to figure out how to create accounts, and
then
configure them to be all access. I have read the manual on  creating
accounts, but for some reason it doesn't work. Here is how it goes:

I access mysql.exe and put in this:

mysql GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost'


Then I hit enter. It starts me off with an indented down arrow and I finish
the GRANT command.

- IDENTIFIED BY 'password' WITH GRANT OPTION;

Then I hit enter. IT gives me another down arrow. I hit enter again and
again
and again and all it does is give me more indented down arrows...  What now?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php