LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2005, 09:22 PM   #1
jjdoll42
LQ Newbie
 
Registered: Apr 2005
Location: Texas
Posts: 11

Rep: Reputation: 0
MySQL not working


Dear All,

The folowing sounds like a user/group problem, but I am confused by it.

A db & directory work perfectly on linux server #1. I copied the the directory of php files and also recreated the db on linux server #2, but I can no longer perform INSERT into the db. Update seems to work sporadically at best.

I wonder if in server #1 I have the user and group set up nicely and in server #2 I do not, which causes this...

Any Ideas?
 
Old 07-19-2005, 02:52 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
did u
grant all on newdb.* to phpuser@locahost identified by 'pass'

but if not - no update would work either except the phpuser has update privileges but no insert privilege

maybe someone else has a better idea if this doesnt help,
cheers, j


(phpuser is the username the php script uses to connect to the server)

Last edited by j-ray; 07-19-2005 at 02:54 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
php not working with MySQL pjocus Fedora - Installation 5 07-08-2005 11:42 AM
mySQL not working? D4ve G Linux - Newbie 2 06-28-2005 04:40 PM
Mysql not working but it did last week dsiguy Linux - General 2 05-27-2003 01:59 PM
MySQL not working for me blither Slackware 5 12-14-2002 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration