I recently followed a tutorial on getting started with WordPress which included installing a WAMP Server.
Some days later I checked on a Java program that I'm working on which connects to a local database, but it could no longer connect to that database, and if i checked in the MySQL WorkBench or DataGrip it seemed as in that database did not exsist anymore, and it only showed my database from my WordPress project, all the other local databases i had made before installing WAMP are gone.
Is there any way to find them?
EDIT: They DO exist in the folder C:\ProgramData\MySQL\MySQL Server 5.7\Data but I don't know how to access them, as they're not working in my Java program, or not showing in the WorkBench as schemas anymore
You now have 2 MYSQL Servers installed and therefore which ever one is started first will be the one that phpMyAdmin or Workbench talks to.
To get to your old database, just stop the wampserver MySQL server
[left click] wampmanager -> MYSQL-> Service Administrator->Stop Service
Then go into the services snapin
Windows Key+R
Enter services.msc
Press the OK button
Find the service called MYSQL and start that.
You should now be able to access the old database using phpMyAdmin or WorkBench
Backup the old database
Then from the services snapin agian STOP the MYSQL service.
Restart the WAMPServer MySQL
[left click] wampmanager -> MYSQL-> Service Administrator->Start Service
Now restore your database into the WAMPServer version of MySQL.
Once this is completed, you can uninstall the old MySQL Server instance.
Related
I recently restored my old computer's system (running win XP SP2), on which I was using oracle 8i in addition to Forms and Reports 6i.
Unfortunately, restoring the system deleted the software, and thereafter I had no access to the local database nor the Forms and Reports I had earlier.
I then installed Oracle 9i v 9.0 as I think that Oracle DB usually has 2-updates compatibility. The installer didn't recognize my 8i database so I went on creating a new 9i database, but now I can't connect forms 6i.
Logging in to sqlplus 9 works fine, but sqlplus 8 requires
DATABASE CONNECTION (e.g. t:node:SID) [LOCAL]
What should the input be??
My 9i SID = ABD and tnsnames.ora is cloned from 9i network folder to 6i net80 folder.
Thank you in advance
Usually, 6i version should be installed in this order: database first, then Reports, and Forms at the end. Why? Because Reports installation overwrites Forms' configuration files, but Forms installation won't overwrite Reports' ones.
Apart from that, the rest should be relatively simple: if you don't use TNS_ADMIN environment variable (my suggestion: do use it), then you have to manually maintain all copies of TNSNAMES.ORA synchronized - that's what you already did: put copy into \developer_suite_home\network\admin directory.
Forms should then be able to recognize the database and connect to it.
I have an instance of plastic installed on my local machine version 5.0.44.519.
This instance is using SQL Server backend.
In here i have several repositories.
rep_1
rep_2
rep_6
now i have backed up these repositories with no problem.
the problem now is that when i go to restore the rep_ databases onto the other plastic instance on the development server i have problems.
the plastic installed on the dev server already had some repositories in it but thats ok, they are rep_24, rep_35 etc. etc. no conflicts.
i can restore the databases onto the dev server no problem.
my problem is that i also need to restore the repositories database onto the dev server plastic otherwise i cannot view the restored rep_ databases.
but the plastic on the server already has a repositories database with values in there, so i cannot restore over it otherwise i will lost whats there.
i would just like to know how i can restore the rep_ databases into plastic without having to restore the repositories database
if you have the database files, you can just relink them to the server using the next command:
$> cm addrep
Connect an existing repository by adding its database.
Usage:
cm addrepository | addrep db_file rep_name repsvr_spec
db_file The name of the database file on the database backend.
rep_name The name of the repository.
repsvr_spec Repository server specification:
[repserver:]svr_name:svr_port
So I've been doing a project at my university with BIDS and a database on their servers. I've managed to back up the database and put it on my local machine.
Problem right now is I've installed SQL Server 2008 + BIDS through SQL Server 2008 Express Edition. Now I've heard it doesn't include SQL Server Analysis Service, meaning I can't deploy the cube.
I've tried deploying the project on my home computer but it gives me the error.
Error 23 The project could not be deployed to the 'my computer
name\SQLEXPRESS' server because of the following connectivity problems :
A connection cannot be made to redirector. Ensure that 'SQL Browser' service
is running. To verify or update the name of the target server, right-click on
the project in Solution Explorer, select Project Properties, click on the
Deployment tab, and then enter the name of the server.
I've checked and SQL browser service is definitely running so I'm not sure what else to try. Is there any way for me to successfully deploy the cube?
I think its authentication issue for your current user connecting to SQLEXPRESS. Try using "Runas /user:[domain]\[user] "Path to BIDS" to run BIDS as privileged user and try windows authentication.
Are there people out there using Windows Server 2008 R2 + SQL Server 2008 R2 and have successfully synced the database from localhost to the cloud on Azure? My goal is to give preference to the local machine database, and I want the cloud database to by in sync with whatever's on the local machine.
First off I had a hard time downloading dependencies, but after getting past that, I'm still getting errors (bugs?), or hopefully am I doing something wrong with getting the client sync agent to load?
I downloaded the "SQLDataSyncAgent-Preview-ENU.msi" file. I'm entering my local box administrator password but I get an error "Service MS SQL Data Sync could not be installed. verify that you have sufficient privileges to install system services". Are you guys using some special account you're creating separately instead of using the local admin?
This and other similar issues are discussed with solution in the Forum:
Unable to install MS SQL Azure Data Sync (Preview)
I followed the excellent tutorial on
http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/
in regard to my dev database on local machine where grails is installed. All went well.
Now I want to deploy grails war to remote website where I setup mysql on remote server.
But I am at loss now. How do I apply the command:
grails migrate
so that the now the remote database has the DATABASECHANGELOG table.
In the database there is some production data that I will manually copy from my local mysql to fresh install of remote mysql database while most of other tables are fresh and have no data. I am waiting for reply to this question to make sure I don't mess up something before actually launch my grails application on remote production server.
You can migrate a remote DB from your computer, using grails.env variable, like:
grails migrate -Dgrails.env=production