GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to edit a database with PHPMyAdmin? (https://gfy.com/showthread.php?t=788810)

Emil 12-01-2007 08:53 AM

How to edit a database with PHPMyAdmin?
 
Is it possible to change the data stored in a database-table with PHPMyAdmin?

If so, how?

FeedAM 12-01-2007 08:55 AM

Yes. What are you trying to edit? Rename table fields? Change field properties? You can do just about anything in PHPMyAdmin.

Emil 12-01-2007 09:04 AM

i moved my db into another and changed the db-prefix, and i changed db prefix in wp-config.php, and now i'm getting:

"You do not have sufficient permissions to access this page."


Some guy said: "Be sure to also check in the options table. There should be cell that says table_prefix_user_roles underneath the column option_name which uses the table prefix."

So I want to change it, but I don't know how to do it..

Emil 12-01-2007 10:18 AM

bump***

123

Boobs 12-01-2007 10:19 AM

what i do is download the whole database and open it with wordpad and edit it from there

hateman 12-01-2007 10:38 AM

select all tables and click "DROP"

then u can proceed to edit it.

wizzart 12-01-2007 10:43 AM

Just read help :idea:

Emil 12-01-2007 11:48 AM

Quote:

Originally Posted by Boobs (Post 13455252)
what i do is download the whole database and open it with wordpad and edit it from there

Didn't know I could do that, thanks! I got it working now.


Will post the solution here so I can find it next time I got problems with the same thing. ;-)

You do not have sufficient permissions to access this page.

Even when attempting to login as admin. The cause? Simple, some of the Wordpress options are actually saved using the Wordpress prefix. You will now need to open up your favourite MySQL admin tool and modify the following:

In table ${NEW_WP_PREFIX}_options:

* Option ${OLD_WP_PREFIX}_user_roles

In table ${NEW_WP_PREFIX}_usermeta:

* Option ${OLD_WP_PREFIX}_capabilities
* Option ${OLD_WP_PREFIX}_user_level
* Option ${OLD_WP_PREFIX}_autosave_draft_ids


Source:
http://www.lildude.co.uk/2007/05/how...-table-prefix/

polle54 12-01-2007 12:52 PM

Quote:

Originally Posted by hateman (Post 13455288)
select all tables and click "DROP"

then u can proceed to edit it.

spot on, it's very important to drop all before you start editing

The Fist 12-01-2007 12:54 PM

Not quite sure why this would be funny.

Do not listen to this.

Quote:

Originally Posted by hateman (Post 13455288)
select all tables and click "DROP"

then u can proceed to edit it.



All times are GMT -7. The time now is 09:38 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123