Wampserver "Can’t select database" - wamp

I had to reinstall Windows, and with that, reinstall Wampserver.
My MySQL data dir is in Dropbox on D:\
I've edited my.ini:
datadir=D:/Dropbox/WAMP/SQL/data
However, when I view phpMyAdmin, the original databases are not being loaded.
There's nothing specific in c:/wamp/logs/mysql.log.
When I try to load a local Wordpress site, I receive the error:
Can’t select database We were able to connect to the database server
(which means your username and password is okay) but not able to
select the steve database.
Are you sure it exists? Does the user steve have permission to use
the stevedoig database? On some systems the name of your database is
prefixed with your username, so it would be like username_stevedoig.
Could that be the problem?
Why isn't phpMyAdmin picking up the original databases present before the Windows reinstall?
Help appreciated.

Related

Opencart Forbidden access after swapping to previous database

Good day,
I had created my online store on a VPS, I opted to move the store to a web hosting package. After installing opecart using softalicioucs the default installation worked fine. I then edited the config files in both admin and public_html to change the database to the original backup of my VPS.
Once I do this, "You don't have permission to access this resource. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request".
If I go back to the installed default database its all good again. I have set the necessary permissions etc for the user to access the backup database.
Anyone knows what is going on? is there some table storing access information?
After disabling MODSECURE I realised that the new installation created tables with prefixes not as my original interfaces, hence the solution was to change the prefix in the config file.

Siebel - changing the DB name

We have a Siebel version 8.1.1. and we need to change the DB name to something else.
can you please help me to identify as to where in the Seibel server I need to make the changes to reflect the new DB name? Is there a particular config file that I need to change? The Database server and port are not going to change, only the name of the database will be changed.
This reply is a bit late but...
Above answers are about Datasource. Datasource has parameters to create connection with DB like host name, user id and psw. Database name should be part of Datasource.
For example:
- Oracle has SID in tnsnames.ora file
- Microsoft database name can be changed in ODBC Data Source Administrator
So it debends what kind of db software you use. For future I would like to suggest to use My Oracle Support Community (MOSC) because Siebel developer community is much more active there than here.
This information is clearly documented in Oracle bookshelf for Siebel. There should be a profile configuration for your Datasource.
Example:
change param datasource=<data_source_name> for compdef <object_manager_name>

how to import data to my database using my same database on my pc?

I have a website that written by django and also same django code on my pc. you call the website www.mywebsite.com and my localhost on my pc is www.127.0.0.1.com, I use the same database model object for two database but I don't want to change my website's database by www.mywebsite.com/admin. I prefer change database on my pc that is www.127.0.0.1.com/admin and update my website by output of that. I should note that I use postgresql with same table and field for both. Please help me. thanks.

Transfer pimcore site to another server

Hy,
I am really new to Pimcore (I'm a joomla guy) and my friend asked me if I could help him transfer a page based on Pimcore to another server. I made a sql dump and copied all the files from the server to my hd and after that on the new server, imported the sql database, changed the username in the db and copied all the files back on the server. Also I made the correct changes for the db in the system.xml file in the config folder. But now all I get is a blank screen but the backend works partially (I can't see the files and the page). I would really appreciate some help!
Thanks in advance
Several things could go wrong, but start with checking:
MySQL user has access to the imported views. This is quite a common issue when importing views between servers,
Apache Linux user has read/write access to the whole website/var folder, access to /var/config is not enough. Pimcore writes cache files to website/var/cache for example.
You are missing mod_rewrite in apache, or your vhost does not allow override.

Troubles with opencart moving

I constructed my opencart shop on localhost, then i tried to move it on my public host.
I created new DB on my server, i imported the DB from my computer to my server. I copied all my opencart site from computer to web hosting. I corrected both config.php files.
Everything seemed be good, but i can'y access the most important part,
admin panel - settings - edit shop
it gives me this message:
Notice: Error: Unknown column 'name' in 'order clause'
Error No: 1054
SELECT * FROM customer_group ORDER BY name ASC in /homepages/32/d367271145/htdocs/opencart/system/database/mysql.php on line 49
somebody has the idea what am i doing wrong?
thankx
marekova#alumni.uv.es
Check your database and ensure you have entries under 'name' in customer_group.
It sounds like you've tried to use a database with the wrong version. Be sure your opencart versions are identical.
If they are, then the only possible way it would work on one and not the other is if like cleverbot has said, the database table doesn't contain the "name" column. You can check that in phpMyAdmin or whatever other DB admin tool you used to upload the database. The simplest solution would be to simply export customer_group from your localhost and re-import it into your live version