requested (because it helps everyone to contribute to answering questions here)
in Virtualmin -> Edit Databases just use logic
ie. how can you do anything with a db until you create it? (that page tabs will also show the db_user and db_pass) and allow you to manage the db with sql or the gui)
I am assuming the db requested is a MySQL (MariaDb) - I prefer to do everything with raw SQL commands but you could install phpMyAdmin a popular free Webapp to manage the database.
If you create a new virtual server all of this is done for you, are you trying to add a second to an existing virtual server ?
You could interchange virtual server with domain or are you just trying to create a new database and user to add a random database for some project
well i run the version 1.973 of webmin
and - hmm - i only have Webmin here running - the backend of the server is managed by my friend.
he creates the vhost and connnects the domain to a directory in the domain-root (on the server) . And i do the creation of the db - and the according userâŠ
these are the processes here.
i look forward to hear from you
regards dhubs
UPdate
Ăbersetzungsergebnisse
I GET THE errors in Establishing a db
Error establishing database connection This means either that the username and password information in your wp-config.php file is incorrect, or we cannot reach the database server on localhost. It could be that your hostingâs database server is down. Are you sure your username and password are correct? Are you sure you entered the correct hostname? Are you sure the database server is running? If you are unsure what these terms mean, you should contact your web hosting providerâs support. If you still need help, you can always visit the WordPress support forums:
question - which methods do help here _ to check wether a db setup was successful
how to check this!
i need some methods that help me to check the setup of the db!?
Well in that case there is no much anyone can help with using virtualmin automates the creation of the vhost which in turn automatically creates the database with the correct privs for the user. That said you are using such an old version of webmin it may be worth starting a fresh and installing virtualmin rather than just webmin which will reduce the work load
A point I made in my first reply (missing the answer to the âsystem infoâ it is a pity this is not a requirement in starting a topic along with the instruction on how to copy it, it is missed off far too often). OK I did edit the reply to add the additional info - I should have made that clearer I had assumed by then that the OP had full access and was on a Virtualmin system. and it was current (or at least recent)
It is complicated when dealing with a third party.
thank you so much joe - youre right : we do not use vitualmin here - or in other words : i only have the webmin dashboard here: so the question (at least for me remainsâ
The order doesnât matter. You can create a user or a database first. Then permissions last.
Virtualmin handles all this automatically for domains managed by it (at least for the general case, you can still do fine-grained user permissions and stuff in the Webmin MySQL/Mariadb module).
first of all: merry Xmas - merry Christmas to you all
many thanks - for the reply. i will try to do as adviced:
hmm as mentioned above. i do not have the virtualmin here running - AT least i do not have access to it:
as i am eagerly trying to this db-setup - with all the necessary things i thought that i do this like so:;
When setting up a new database with Webmin, there is a sensible order that ensures that everything is configured correctly and no permissions are missing. The order is as follows:
Create database:
Start by creating the database, as all further steps are based on this. In Webmin, you can do this via the MySQL Database Server section.
Create user:
Next, create a user who will later have access to the database. Enter a username and password.
Assign user permissions:
Assign the user the appropriate permissions for the previously created database.
Make sure the user is given permissions such as SELECT, INSERT, UPDATE, etc.
This is done in the database permissions section.
Configure host permissions (if necessary)
If the user is not only supposed to access the server locally (e.g. from a remote host), you need to adjust the host permissions.
For example, we can specify that the user only has access from a specific IP address.
hmm - dear Joe - this little manual - this does not fit - does not the job: so i will try to do the setup according to your ideas and tipps.
thank you so much for sharing your ideas, tipps and all!!!
i am happy for being part of this forum âŠ