If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Error table ......READ ONLY

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-04, 16:38
ferlinux ferlinux is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Talking Error table ......READ ONLY

I have a problem, I want to update the registries of a table and it leaves an error to me that the table is of READ ONLY, because.
My DDBB this a Red Hat 9 linux, and ne my clients Win98 gives that error, hize me the test with servidoes Windows Xp and all this Ok.
consulta = "UPDATE "Update certif_bauts Set name = '" & Trim(txtname.Text) & "'"
Set conn = New ADODB.Connection
conn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
& "SERVER=" & Trim(cServer) _
& ";DATABASE=" & Trim(cDatab) _
& ";UID=" & Trim(cUser) _
& ";PWD=" & Trim(cPass) _
& ";OPTION=" & 1 + 2 + 8 + 32 + 2048 + 16384
conn.CursorLocation = adUseClient
conn.Open
Set rs = New ADODB.Recordset
rs.Open consulta, conn, adOpenKeyset, adLockOptimistic

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-03-04, 17:39
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
What user privileges do you have for that table? Sounds like you need to have privileges increased so you can do more than select data.
Reply With Quote
  #3 (permalink)  
Old 09-04-04, 10:31
ferlinux ferlinux is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Exclamation

User whereupon entrance have all the privileges. Since with this user also I add and I eliminate single it cannot update the registos.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On