Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have checked similar questions, but their solutions don't work for me. My website is hosted on Dreamhost. My phpMyAdmin looks very different to the phpMyAdmin shown in tuturials all over the internet. It says I have "no privileges" to create a database and there is no tab at the top of the phpMyAdmin page with the "privileges", "users", etc. tabs that are usually found there. The hosting was originally set up by my university. Is this an issue of permissions? Can it be solved or do I have to get a new host? Thank you for your time.
Do you have at least one database already created by your provider? If the answer is yes, then they probably have a restriction, prohibiting you from adding new databases, and you must work with that one.
If you don't see any databases to work with, and you cannot create a new one, then you might be using a plan where no database access is included. The fact that you have access to phpMyAdmin seems to indicate that you do have DB access, and should be able to use at least one provided (pre-created), o create one yourself.
You should talk to Dreamhost to know what are you entitled to do with your account. They have plans with "unlimited" MySQL databases.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I use DB on regular basis to host static sites for clients so that it makes easy to change anything and ask to client check. I use 'Public' folder to do that. Colloboration with client becomes super fast and easy.
Now I researched a lot on google on hosting php site there. But didn't found anything. I need to upload small changes to server to show client and the process is again and again.
What you guys recommend as a good solution?
Set up some automatic deployment to a server that your client can access. Use version control for your changes. When you merge into a specific branch, your script can automatically do the deployment for you.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have been doing a lot of work on my local machine and I currently have 5 instances of Wordpress running using wamp. I am sure the answer is a matter of preference but I want to know if you should create a new user and database for each wordpress site? Here are a few of my names of my directorires that I have locally. wordpress, wordpress-dev, wpsandbox, wpxp, etc..They all have there use and I am actually adding one now which is why I am asking this question.
Currenlty each wordpress install has its own database and user with the same name so moving forward should I stick with this or is one global user assigned to each database best?
In a production environment you certainly want to have separate users to better manage permissions, minimize damage if one of the user credentials is compromised, etc.
In a development environment on your local computer I doubt it matters much, one user for all your databases is more convenient. I find myself doing that at times.
However one could make the argument that a developer should be using best practices from the get go, even in a development environment. So if your question is "should I be employing good security measure even in my local development environment" I think the answer is always "yes, unless you have a compelling reason not to."
If this is a localmachine where you have access, and only you. Then having 1 user for all databases should not be a problem.
Yes this is down to personal preference; but I see it as, in a live production web service. You should get into the practice of having 1 user with only the rights that it needs.
Example:
Database Name: Testing
Database Name: Another
Users:
Root -- Connect to append changes to the structure of the actual table/schema.
User1 -- Select, Insert, Delete and other necessary functions specific to Testing
User2 -- Same as the above, but specific to Another
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Service Provider: Godaddy
CMS: Wordpress
Maximum Database Size Allowed: 1GB
Recently i got message from my hosting provider saying that my shared hosting database maximum size could be 1GB only, and they want me reduce the size of database for not closing the database because of the over-sized database voilation it. If i can't reduce it then they are asking to shift it to VPS. But VPS is too expensive for me, also, i don't want to change my website IP Address, that will happen if i switch to any other service provider or even to a VPS. Because ppl say that changing IP Address, affects SEO.
Now what i want to know, if it possible to use WordPress with two databases, as i am having more free databases with this service provider, and have almost 20 more databases. So if i could keep one database as my previous one and another one as new, this will solve my problem.
But is that possible?
You can do it using HyperDB.
More information can be found here:
https://wordpress.stackexchange.com/questions/11154/split-wp-install-between-2-databases
But is that possible?
It's kind of possible, but you'd have to set up a completely new Wordpress install.
It's not possible to connect the same WP install to two databases.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just exported a MySQL database from one server and imported it into another server. However, my application (WordPress) can read some information from the database but not others. For example, WordPress can still access the posts but the permalinks are messed up. Right now, my blog has a ton of issues because of this. I remember encountering this problem before in the past, but I forgot how I solved it. The old server version was 5.5.16-log, the new server is 5.5.28-0ubuntu0.12.04.2.
How can I fix this using phpMyAdmin?
http://interconnectit.com/124/search-and-replace-for-wordpress-databases/ the paths for the posts are absolute paths and stored as serialized data in the database. Please read this link to learn how to safely migrate a Wordpress installation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have a complicated problem, exacerbated by the fact I don't really know where to start!
Over the last few years, I've developed a number of php web-based systems. When I built them, our network was ropey at best, so I thought nothing of creating my own username/password stuff.
Since then, our network has become a lot more robust, our admins have installed an ISA server for various other things and my apps are left as frustrating relics that people forget their passwords and are never sure which one belongs to what.
I would like to be able to replace my own login code with something that will talk to the the ISA/Active directory stuff so users can just use their primary username and password to log onto my stuff too.
Part of the difficulty is that the PHP apps are hosted outside of our network, although I do also have a server inside the network to act as a gateway if necessary. All of the servers I have access to are running Linux, although I might be able to persuade someone to install a 'plugin' on a windows box if it is absolutely necessary.
Where do I start?
If PHP is running under Apache you should be able to use mod_ldap and mod_authnz_ldap to authenticate to your Active Directory server.
There's also a fairly complete LDAP API for PHP, which you should investigate.