Page 3 of 12

Re: [Tutorial] How to use phpMyAdmin

Posted: Mon Feb 25, 2008 7:16 pm
by Big Clucker
phpbb3.

At the moment I just hit the "back" key and logged - so no damage so far :)

Re: [Tutorial] How to use phpMyAdmin

Posted: Tue Mar 11, 2008 12:00 am
by jazzking2001
you are the greatest
it made it so simple

Re: [Tutorial] How to use phpMyAdmin

Posted: Tue Mar 11, 2008 11:16 am
by battye
Thanks for the kind words :D

Re: [Tutorial] How to use phpMyAdmin

Posted: Tue Mar 11, 2008 1:16 pm
by Dark R0gue
can u help i only get:

Code: Select all

Error
SQL query: 

INSERT INTO phpbb_config( config_name, config_value ) 
VALUES (

'wpm_enable', '1'
);



MySQL said:  

#1146 - Table 'rzerguef_Forums.phpbb_config' doesn't exist 
i am installing pm on firts login. should i edit the files and upload first.

Re: [Tutorial] How to use phpMyAdmin

Posted: Wed Mar 12, 2008 12:17 am
by A_Jelly_Doughnut
DarkR0gue: That probably means your phpBB installation uses a different table prefix than the default phpbb_.

Re: [Tutorial] How to use phpMyAdmin

Posted: Wed Mar 12, 2008 9:40 am
by Dark R0gue
do you know how i could find out what it is?

:twisted:

Re: [Tutorial] How to use phpMyAdmin

Posted: Wed Mar 26, 2008 12:39 pm
by Peetra
DarkR0gue: perhaps by looking in config.php? Take it home by ftp for an example.

Re: [Tutorial] How to use phpMyAdmin

Posted: Wed Mar 26, 2008 2:03 pm
by jazzking2001
Peetra wrote:DarkR0gue: perhaps by looking in config.php? Take it home by ftp for an example.
that sounds like the solution to your issue

Re: [Tutorial] How to use phpMyAdmin

Posted: Thu Apr 10, 2008 10:07 pm
by zoldix
battye wrote:How to use phpMyAdmin

Many MOD's require users to run a file to apply SQL changes, however, there are some that require you to make manual database changes.

In 2.0.x MOD's, you know you are required to apply SQL changes manually when there is no update file supplied, and you find the following action in the MOD install file:

Code: Select all

#
#-----[ SQL ]------------------------------------------
#
In a MODx file, you will find a similar action.

In the SQL section, you may find many different queries. This tutorial explains how to manually apply these using phpMyAdmin.

For the sake of this tutorial, suppose the SQL query you were required to run was as follows (note: there may be more than one, they will all be listed).

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) values('allow_userbar_upload', '1');
Opening phpMyAdmin

More often than not, a link to phpMyAdmin will be provided, under the databases section, in your webhosts cPanel, Ensim or another sort of control panel. If you are unable to find a link to phpMyAdmin from your control panel, you may need to talk to your webhost and ask if it is preinstalled. If it is not, you will need to install it yourself. Download phpMyAdmin, and find documentation on installation, from http://www.phpmyadmin.net/

What to do once in phpMyAdmin

After opening the program, on the left panel, navigate to your database by clicking the dropdown menu, and clicking the database which your forum resides in.

The right panel will then display a list of tables. Ignoring these, proceed to clicking the "SQL" tab on the top navigation bar.

Image

Paste the query/queries that you need into the large box titled "Run SQL query/queries on database". Ensure the table prefix is correct. In the majority of cases, it will simply be phpbb_, but in this case, it was myforum_. Check the box "Show this query here again" and once satisfied, proceed to click "Go".

Image

You know the queries were executed successfully if no errors appear. You should get a screen similar to this:

Image

If you get any errors, read the error message carefully and rectify the problem. If you are unsure of an error message, and you are not able to find an answer after searching the forum and searching Google, feel free to post it within this topic for further assistance.

Thanks,

The phpBB MOD Team
Thanks much! Big help!! :)

Re: [Tutorial] How to use phpMyAdmin

Posted: Thu Apr 10, 2008 10:30 pm
by jazzking2001
this is the easiest Tutorial i have ever used

Re: [Tutorial] How to use phpMyAdmin

Posted: Thu Apr 17, 2008 8:45 pm
by PowMacP
Is there an actual phpmyadmin for dummies book out there? I deleted php_config by mistake :o :oops: & I need to restore it if it is do-able :?: :?: :?: .

Help please

Thanks,

Marc

Re: [Tutorial] How to use phpMyAdmin

Posted: Thu Apr 17, 2008 10:43 pm
by Tripp
Only way to restore it is if you have a backup.

I guess you could manually re-enter the table and add any mods back to that table.

Re: [Tutorial] How to use phpMyAdmin

Posted: Fri Apr 18, 2008 11:51 am
by PowMacP
Thank you for responding.

I did a back up of the database from the forum administration option. Is that good to restore anything lost with that config file?

BTW I am running PHPBB 2.0.23

Also, we have to move our database & all the files to another server within the same host due to a dying server. If I install a brand new version of PHPBB 3.XXX, will I be able to restore the above mention in version 3.xxx of PHPBB?

Thanks

Marc

Re: [Tutorial] How to use phpMyAdmin

Posted: Sat Apr 19, 2008 11:00 pm
by sibry
Hi

Thanks for the great tutorial!

I was wondering if you could help with the following error i received when trying to install Ajax Chat for my phpBB3 forum. I ran the chat/install.php file and have also tried importing the chat.sql file into the DB but both times i got the following error.

Code: Select all

#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 8 
Any advice would be greatly appreciated.

Cheers

Si

Re: [Tutorial] How to use phpMyAdmin

Posted: Wed Apr 23, 2008 2:17 am
by nabeelmallick
what if u want to uninstall a mod with sql querry?? how you undo the change in sql?? :?