Yes, usually you create a new database, user and password as well as use another copy of WordPress to create a new site. You can create a new directory in the same place where the “wordpress” directory is located and use that one for the new site.
Note that it is possible to use the same database for two different sites if you use a different table prefix (usually wp_). However, this is only advisable in same cases.
Related Posts:
- WordPress fails to install with “Can’t Select Database” Error (WAMPServer)
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- Setting up foreign keys in phpMyAdmin?
- Xampp MySQL not starting – “Attempting to start MySQL service…”
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- MySQL Error #1133 – Can’t find any matching row in the user table
- Can’t open the mysql.plugin table. Please run mysql_upgrade to create it
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- How to create a foreign key in phpmyadmin
- importing a CSV into phpmyadmin
- Node.js MySQL – Error: connect ECONNREFUSED
- MySQL said: Documentation #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
- What specific database privileges does WordPress need?
- “#1067 – Invalid default value for ‘post_date'” when trying to reset AI after backup
- How to copy post titles to post slug in phpmyadmin
- Universal problem: first request after ~25 second inactivity always slower (~1 second) than subsequent requests (~1/10sec)
- How to do a MySQL dump from production site without using a search and replace script for local development?
- How to Create a Admin User for A WordPress Site via MySQL (PHPMyAdmin)?
- SQL error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’ [closed]
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- Set meta_key and meta_value for all registered user in wordpress using sql query [closed]
- Can’t find my wordpress DB in phpmyadmin
- Uncaught Error: Call to undefined function mysql_connect() – WordPress installation
- Backing up and restoring multiple sites efficiently
- $wpdb to insert html form information
- Connect to MySQL using Windows Authentication
- Getting Error Trying to Create Table
- Export Yoast Keywords from MySQL/phpMyAdmin
- Editing mysql tables/database with wordpress or other app/cms
- List users with the most posts in the last 30 days
- Export SQL query based on custom field?
- How can I view my site directly from WordPress dashboard?
- Mysql Server keeps crashing
- How to bulk delete a certain part of all wordpress posts
- When I add metadata, metavalue length is added in to the value in some cases
- Find locations of all featured images of draft posts via SQL
- SQL query to change custom field in WordPress database
- WAMP SERVER Command Prompt SET PATH=%PATH%
- An SQL query to find orphaned image attachments and their meta
- Why is local wordpress install calling live site executions?
- Apache Redirect based on WordPress permissions
- cannot log in to the mysql server (wamp and wordpress)
- SQL command to export post_content from wp_posts using phpMyAdmin
- Need SQL query to find&replace image URL
- MySQL Error: : ‘Access denied for user ‘root’@’localhost’
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- MySQL Error “Operand should contain 1 column”
- How to use MySQL DECIMAL?
- MySQL ERROR 1290 (HY000) –secure-file-priv option
- MySQL server startup error ‘The server quit without updating PID file’
- Duplicating a MySQL table, indices, and data
- mysql Foreign key constraint is incorrectly formed error
- SELECT * FROM multiple tables. MySQL
- mysql: SOURCE error 2?
- How to avoid MySQL ‘Deadlock found when trying to get lock; try restarting transaction’
- MySQL foreach loop
- MySQL Calculate Percentage
- Repair all tables in one go
- Get the new record primary key ID from MySQL insert query?
- mysql community server vs mysql installer
- How to change collation of database, table, column?
- Failed building wheel for mysql-python
- How to get the max of two values in MySQL?
- mysql: connection refused when trying to connect to localhost using remote IP
- Unable to start MySQL server
- Error: Duplicate entry ‘0’ for key ‘PRIMARY’
- Complex meta query with 3 keys
- How to log mysql errors from wordpress core?
- wpdb Custom Meta Data with 2 conditions
- Configure WordPress to connect to Mysql DB using SSH tunneling
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Rewrite database urls
- Migrating from Existing MySQL Setup to WordPress
- How to split the a table in database?
- Is there a page length limit?
- WordPress tables and aliases?
- What’s the sql for this condition?
- How to set MYSQLI_OPT_INT_AND_FLOAT_NATIVE option
- How to insert dash (-) into database using wpdb and new_to_publish hook?
- MySQL: How to change url in posts from xxx.com to yyy.org?
- How to fetch all meta_key and meta_value using post_id wihout duplication of post meta using sql query
- Upgrade DB Loop – WordPress DB Version Conflict
- WordPress & MySQL , problem with use many array in meta_query
- Button writing to MYSQL database
- MySQL ‘duplicate entry’ error
- Deleted products from woocommerce are still in the database
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- WordPress Dutch characters encoding problem
- How to show result of sql query in a page?
- How do I insert content of various MySQL fields in post?
- Select latest 2 articles, but only from given category
- Error while submitting form using AJAX and php
- CONCAT_WS in custom sql query
- Ordering topics by most replies in X days using MYSQL statement
- MySQL Select within WP Page template
- Running WordPress from MySQL Cluster with HAPRoxy
- Delete posts with word count less than x number of words
- Initialization of table in database using ‘CREATE … IF NOT EXISTS’
- mysqldump throws: Unknown table ‘COLUMN_STATISTICS’ in information_schema (1109)
- Batch Replace URLs in WordPress Database