المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : تغيير البريفكس فى قاعدة بيانات جملة change joomla database prefix



Rise Company
18-10-2017, 00:00
تغيير البريفكس فى قاعدة بيانات جملة change joomla database prefix

https://www.rise.company/forum/images/imported/2017/10/16.jpg

Using the Joomla! Back-end (Super administrators only)



Log in to the Joomla! backend.
Go to Global Configuration by clicking the button in the control panel or via the menu (Site > Global Configuration).
Go to the Server Tab.
Under Database Settings, look for Database Prefix field. The value you find there is your database prefix.

A Tip!

------------------------------------------------------------------------------------------
Using Configuration.php (Requires Access to the Site Root)



Go to the document root and find the configuration.php file.
Open the file in a text editor.
Search for the word dbprefix.
You'll see the line var $dbprefix = 'value'. The value you see here (for example, jos_) is your database prefix.
------------------------------------------------------------------------------------------

Using a Database Interface (Requires Access to the Database, e.g. phpMyAdmin for MySQL)

Log into your database using phpMyAdmin. You will need the database username and password - you will have these from when you created the database. (If you do not have the username and password available you can retrieve them from the Joomla! website's configuration.php file - using the $user and $password variables to login.)
When you are connected to the database - look at the name of every table of the website. It will begin with a group of letters and the underscore symbol ('_'). These letters and the underscore is the database prefix for your website. An example prefix looks like this: 'jos_'.
If you have several databases make sure you connect to the database for your Joomla! website - you will find the name in the configuration.php file in the $db variable.



Open your dump.sql file from Sources folder and choose Find & Replace tool. You need to replace all “jos_” instances with your table prefix there. Paste jos_ to the “Find” field and your prefix to the “Replace” field, then click on Replace all button:
https://www.rise.company/forum/images/imported/2017/10/17.jpg
Save the file and import it to your database.

Check your website, it should work properly now. In case any other questions appear, feel free to check our video version below: