error in INSERT oparation on database in MySql server 3.23.5

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
sampathkumarmekala
Forum Newbie
Posts: 1
Joined: Thu Aug 10, 2006 5:52 am

error in INSERT oparation on database in MySql server 3.23.5

Post by sampathkumarmekala »

I am using PHP 4.4.1 to create database in MySql server 3.23.58 running on Unix server. I ran into the following problem.

If I create datbase and tables through phpMyadmin, I am able to run all the DML commands on the database. But, using PHP script and using the same UserId and password, I could create the database and tables, but unable to insert rows into the tables. Our Server Support says that the this database is not in the same group in which the other databases are and this group does not have the required permissions.

Is there a way I can run insert and update scripts from PHP script?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

strange, phpmyadmin is a bunch of php scripts nothing more nothing less.
sampathkumarmekala wrote:I could create the database and tables, but unable to insert rows into the tables.
and the error message is?
May we see some of the relevant code?
Post Reply