SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/05/2018, 03:03 PM   #1
Hunud
Gangsta
 
Join Date: Jun 2016
Posts: 680
Reputation: 21
Default MySQL

When i join to phpmyadmin and i'm trying to change some thing i can't.

'Current selection does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available. '

Any way to 'remove' that ?
__________________
I need a hero:
Quote:
Originally Posted by Meller View Post
At least my ass is smart, so I guess that makes me a smartass?
[/I]
Hunud is offline   Reply With Quote
Old 17/05/2018, 03:05 PM   #2
Chyakka
Little Clucker
 
Join Date: Jul 2015
Posts: 16
Reputation: 8
Default Re: MySQL

You need to set one of your columns to have a primary key.
Chyakka is offline   Reply With Quote
Old 17/05/2018, 03:07 PM   #3
Hunud
Gangsta
 
Join Date: Jun 2016
Posts: 680
Reputation: 21
Default Re: MySQL

Hmm, how to do that ?
__________________
I need a hero:
Quote:
Originally Posted by Meller View Post
At least my ass is smart, so I guess that makes me a smartass?
[/I]
Hunud is offline   Reply With Quote
Old 17/05/2018, 03:09 PM   #4
Chyakka
Little Clucker
 
Join Date: Jul 2015
Posts: 16
Reputation: 8
Default Re: MySQL

Quote:
Originally Posted by Hunud View Post
Hmm, how to do that ?
If you look at your table on phpmyadmin you'll see the word "Primary" with a golden key next to it, click that for one of your columns, typically the one that specifies an ID of some sort.
Chyakka is offline   Reply With Quote
Old 17/05/2018, 03:13 PM   #5
Hunud
Gangsta
 
Join Date: Jun 2016
Posts: 680
Reputation: 21
Default Re: MySQL

Ah!

You saved my life. +rep
__________________
I need a hero:
Quote:
Originally Posted by Meller View Post
At least my ass is smart, so I guess that makes me a smartass?
[/I]
Hunud is offline   Reply With Quote
Reply

Thread Tools
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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Plugin r39-2 Error: Can't connect to local MySQL server through socket Emre__ Scripting Help 10 30/07/2014 08:26 AM
[Tutorial] [VIDEO] MySQL ORM r38: How to pair GM with MySQL & creation of registration/connection system cArnasLT Tutorials 3 19/05/2014 02:08 PM
BlueG MySQL plugin - Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc) linuxthefish Plugin Development 10 13/07/2013 10:56 AM
[Tool/Web/Other] MySQL DB Manager - Easily manage your MySQL databases with this remote application fiki574 Tools and Files 13 22/07/2012 09:41 AM


All times are GMT. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.