Changing data directory for mysql(mariadb)
I want to shift my mysql default data directory from /var/lib/mysql to a folder in my home folder, because the databases I will be creating will be over 100Gb, and my root folder is on a 32 Gb SSD. Could anyone please give me proper detailed steps on how to accomplish this. I tried to do this once following some blog online and it messed up my whole mysql installation(I had to reinstall everything).
I hope this aint counting as necromancy.
I found this thread but I also found the solution, so if anyone stumble into the same issues.
Here the basics:
If you do not use the default location, just put into /etc/mysql/my.conf (or whereever your conf is):
datadir=/path/to/datadir
Otherwise, it will always default to /var/lib/mysql (maybe this will change)
Have a nice day,
lufti.
Similar Messages
-
How to change date format for prentation variable in Formula
Hi experts.._
I need to change date format for presentation variable in formula..
my dashbord date prompt format: mm/dd/yyyy(i have created one presentation variable for this prompt: pv_date)
now i need to show it as : month-dd-yyyy
Thanks in advance
Regards
FrndsHi Kishor...Thanks for reply...
But i need to change my precentation variable date formt...
i need to write one text like: 'Year to dd/month/yy' in one column formula..
So how can i achieve it.. -
SQL Server 2012 Change Data Capture for Oracle by Attunity support for Oracle 12
I would like to know if there are any plans for SQL Server 2012 Change Data Capture for Oracle by Attunity to support versions of Oracle 12 and if by when.
I have asked from the author of
http://blogs.msdn.com/b/mattm/archive/2012/03/26/cdc-for-oracle-in-sql-server-2012.aspx about this.
I will either ask him to answer here or I would be a messenger.
Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
9iAS: Programmatically change data source for Java/J2ee bc4j application
Background: We obtain a copy of our customer's live data daily for support issues. We'd like to be able to keep up to date as possible and get files early in the morning. due to the size of the database, it takes a few hours to download and import into our Oracle database. what I'd like to do is use two different schemas/users for the data, alternating on each day so that the loading of one, does not affect the running of the other. To make this seamless, I'd like to have a script perform the changes after the download and restart the server. The issue is how/where to change the data source so that my application will pick it up each time? I'm using an application specific data source from EM.
Any ideas?
Thanks,
JeffIf it is intended to be accessible from Reports servlet then you can use "ssoconn" command line option where by the user name and password is stored in OID (Oracle Internet Directory)
Pls see publishing reports to web document --> command line options -> rwservlet
(link below)
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
Using Frame API for C, Need to change Data size for a TX Object
I need to Transmit different messages to the same ArbitrationID address. The Transmited messages have variable lengths. Can I call ncConfig on an object to change the NC_ATTR_CAN_DATA_LENGTH even after the call to ncOpenObject. Or do I have to Close the object and reopen it after the call to ncConfig?
Thanks!Hello Genesis,
your second assumption is right. You do have to close, reconfigure and reopen the object in order to change the data length.
As long as you're using the CAN Object in the 'Transmit Data by Call' mode only, you might want to consider using the Network Interface for transmitting. When you use the Network Interface, you can change the ArbitrationID for each write call.
-B2k -
Retrieving latest changed date UDATE for Vendor.
Hi All,
I have a requirement to retrieve latest changed date UDATE field from CDHDR table based on company code wise??.
As the vendor can be same for different company codes, I need to retrieve the company code wise latest changed date of vendor.
Hope am clear.
Currently am doing this
SELECT objectclas objectid tcode udate
FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
FOR ALL ENTRIES IN it_lfa2
WHERE objectclas = 'KRED' AND
objectid = it_lfa2-objectid
AND change_ind = 'U'.
SORT it_cdhdr BY objectid udate DESCENDING.
Its giving me the latest changed date. But I need latest changed date -company code wise?
Any help is highly appreciated.
Thanks & regards
Himayat.Hi,
Use function module CHANGEDOCUMENT_READ to get the details of CDHDR as well as CDPOS data. Records of table CDPOS where TABNAME = 'LFB1' will have the details related to changes in company-specific data. Structure EDITPOS of above function module will give you detail information.
Regards
Vinod -
How to change date format for prentation variable
Hi experts
In my prompt the date format is MM/DD/YYYY . I have created one presentation variable for that but i want to use this in Formula as well in Title as: DD-MON-YY
So how can i achieve it..
Thanks in advance
Regards
FrndsHi
i think this can't be done through any code like oracle uses to_char, to_date function.
Just follow this
http://oraclebizint.wordpress.com/2007/12/19/oracle-bi-ee-101332-dates-dates-and-dates/
With this, wherever you have this column, you will be getting this format dates..
if you don't want in reports you can change it by mentioning the data format for that paricular column in report, but for the same column, if you want different format at different places (for prompts), you can't do that.. -
How to change data type for a field?
Hi Experts,
I have one std screen having one field having numeric type. So it will accept only numeric value. Remember I am using standard transaction.
Now my user wants to enter the special character like + or - in that field(having data type numeric).
How i can change the data type for the particular field so that it will also accept + or -?
Plz reply me as earliest as possible.
Thanks in advance.Hi salil ,
u have to change / create Domain of that Data Element.
but u have to check the Implications. i have done the same thing , but that one is Customer defined one , i got nearly 20 short dumps while doing the TP.
regards
Prabhu -
Changing date format for some of the date columns in a subject area
Hi,
I have a requirement to change the date format for some of the date columns to dd-mon-yyy for only a particular subject area. Is there a feature available in the RPD which can help me do this?
In Answers - Column Properties for a Particular column of a report, we can save the style and formatting as system wide default for the particular column or the data type, but that applies across subject areas.
I tried with the config files too , but that too applies to all suject areas.
Thanks in Advance,
GauravWhy don't you create 2 logical column derived from same date physical col and then change the format for one logical column and use it in Subject Area ?
-
Change Data Capture for Oracle 9i
<p>If your environment must keep large amounts of data current, the Oracle CDC feature is a simple solution to limiting the number of rows that Data Integrator reads on a regular basis. A source that reads only the most recent operations (INSERTS, UPDATES, DELETES), allows you to design smaller, faster delta loads.</p><p>With Oracle 9i, Data Integrator manages the CDC environment by accessing Oracle's CDC packages. Oracle publishes changed data from the original table to its CDC table. After a CDC table receives published data, you can create subscriptions to access the data. Data Integrator Designer allows you to import CDC tables and create subscriptions for them.</p><p>For more information see "Techniques for Capturing Changed Data" of the Data Integrator Designer Guide.</p>
<p>Werner did a nice step-by-step instruction on how to set up CDC in Oracle and use this inside Data Integrator. </p><p><a href="http://www.consulting-accounting.com/time/servlet/ShowPage?COMPANYID=43&ELEMENTID=1641" target="_blank">http://www.consulting-accounting.com/time/servlet/ShowPage?COMPANYID=43&ELEMENTID=1641</a></p>
-
Changing Data Source for command objects
Hi,
My report (designed in CR 10) is running based on the Stored Procedure call using a command object; which is running successfully in the DEV environment. The report data source connectivity is a DSN.
Now i want to switch it to QA environment with different DSN name. When i tried to update the Change Data Source option, it doesn't allows to update the existing command with a new command!!!!
I don't know how to fix this. Could any one of you have idea, pls. share it here???
Thanks
ViswaIf you have same table structure in new data source then you can change the datasource connection.
Follow the steps in this article
KBase Article ID:c2016958
Article refers to:Crystal Reports 10
Symptom
In Crystal Reports (CR) 10, can you change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository?
Resolution
Yes, you can change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository by using the following steps:
====================
NOTE:
You must apply the CR 10 Monthly Hot Fix (cr10win_en.zip) and the CR 10 Database and Export Drivers Monthly Hot Fix (dbex10win_en.zip) before starting the steps below.
You can download these hot fixes at http://support.businessobjects.com/search
====================
1. Open a report with a command object.
2. Go the 'Database' menu and click 'Set Datasource Location'.
3. In the 'Set Datasource Location' dialog box, select the connection for the command object (the connection appears as a cylinder with a plug).
4. In the lower window, select the new connection and log on to the database.
5. Ensure the connection is highlighted for the command object in the top window, and the connection is highlighted for the new command object in the bottom window.
6. Click Update.
The database connection for the command object now changes to use the new database connection information.
Regards,
Raghavendra -
How to change date format for FM ?
Experts !
i am trying to use FM DATE_TO_PERIOD_CONVERT. for this FM the input date formate is mmddyyyy
but my variable returns in yyyymmdd. bcoz of that my FM doesnt understand the input date.
how do i do this? i am very poor in abap skills so will not do too much of codeing to convert.
thanksThanks Gharu !
I do get the correct formate using your code. but the problem if i debug my code goes till the FM and then it kicks it out. i dont know why.
The data type what you have define in your code is not what i have in my code. is it bcoz of that.
In your code..l_date type sydatum
in my code ...l_date like sydatum <-----Do you think i sould make it type ?
Also, in your code ..
l_olddate(8) type c,
l_newdate(8) type c,
while in my code..
l_olddate LIKE sy-datum
l_newdate LIKE sy-datum
Do u think i should change data type ?
If yes , then it will be big change for me. can you make it according to my DATA TYPE ?
thanks..i am waiting.... -
Change project directory for Workshop?
The default project directory for workshop is
C:\bea\weblogic700\samples\workshop\applications. How do I change that.
For example I want my project to be in the directory c:\work\webservices
thxYes Raj. That helped, it worked!
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]...
Dave,
You can change the server with which Workshop communicates by modifyingthe
Config directory entry available under the Tools->Preferences->Pathsoption
on the IDE.
In your case the config directory should be c:\
and the domain should be foo.
also make sure you change the port number entry to the one the server infoo
is listening on.
Hope this helps.
Raj Alagumalai
WebLogic Workshop Support
"Dave Remy" <[email protected]> wrote in message
news:[email protected]...
OK. I added a new domain (e.g., foo) and pointed the directory to one
of
my
choosing (c:\foo). Weblogic then created a c:\foo\applications
directory.
Ok, how do I get workshop to use that directory for my development
project(s)? When I start if from my start menu it uses the cgserver
instance and when I create a project it creates it in the samples
application directory.
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]...
Dave,
When you create a project in Workshop, the project will be created
under
the
applications folder of the server with which Workshop is
communicating.
For
every project that you create via Workshop there is a corresponding
fully
exploded web application that is created on the WebLogic Server. This
restricts the ability to have the project reside in a different
location
other than the applications folder.
If you do not want the project to be created in the samples directoryyou
can configure a new domain via the domain configuration wizard. But
the
project would still be under the applications folder of the newdomain.
>>>
Hope this answers your question.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Dave Remy" <[email protected]> wrote in message
news:[email protected]...
The default project directory for workshop is
C:\bea\weblogic700\samples\workshop\applications. How do I change
that.
For example I want my project to be in the directoryc:\work\webservices
thx -
Change destination directory for screenshots?
I often use Cmd-Shift-3 and Cmd-Shift-4 to capture screenshots to my desktop.
To keep things a little tidier, how can I specify some other default directory for these images, e.g. a "ScreenShots" folder within the Desktop?
Thanks.Well, it depends on what you want to do. There are a number of different hidden preferences that can be accessed through the "defaults" command - but knowing they're there is a trick. Google does wonders for finding hidden preferences, where they exist.
Showing/hiding files is done with the "chflags" command.... "chflags hidden /path/to/file" to hide an item and change it to "nohidden" to show it.
Here are a couple sites that will give you more information:
http://www.mactricksandtips.com/2008/02/top-50-terminal-commands.html
http://www.macstories.net/roundups/a-collection-of-250-terminal-commands-hacks-t ips-and-tuts-for-mac-os-x/ -
Change default directory for Creative files (such as Media Databa
I'm using a Zen xtra with WinXP Pro on my company laptop. The Creative software puts a lot of files (7 MB!) in my user profile under Document and Settings. Unfortunately, this is making my profile larger than my company allows, since they back up the profile over the network.
How can I change the default directory for these file? I can't find any .ini files that might declare the path, and I can't find anything in the Windows Registry that points to my profile.
Help please?
Thanks,
LukeThanks for the suggestion of deleting the JetFileBackup folder, Micromouse. I'll try it.
Any other files look deletable? Without any way to move them, I may have to try deleting some and see what happens.
I'm not even sure which Creative programs can be uninstalled (other than Nomad Explorer) and still be able to use MediaSource to play songs from my Zen Xtra (through a USB connection). Windows Add/Remove Programs says that I've used all of these programs today:
Creative Jukebox Driver
Creative MediaSource
Creative MediaSource AudioSync Plugin
Creative MediaSource NOMAD Jukebox 2/3/Zen Plugin
Creative NOMAD Jukebox Zen Xtra
But all I've done is open MediaSource and start a playlist from my Zen Xtra. Anybody know which of those can be uninstalled without affecting my use? (Maybe this deserves a separate topic.)
Thanks,
Luke
Maybe you are looking for
-
I did not do my research before changing my Apple ID from an outdated email address to a current one. I just changed and verified and though I was all set. WRONG! Now I cannot sign in to iCloud because it will not let me enter the new Apple ID. I rea
-
Industrial machinery inspection
Hi friends I want inspect the Boiler in my plant not in the GR time,at the time of working,and also I want create only one Lot per month,daily inspection details updates in the same lot. kindly share your knowledge
-
I'm using Photoshop CS6 on my laptop. When I tried to apply the oil pain filter, I got an error message saying "The filter you were using encountered an unknown graphics processor error that caused an unexpected exit. Check the manufacturer's website
-
Just bought CS3 and dreamweaver adds a blue border to a link when a pic is inserted. anybody know why or how to turn it off? Thanks gcs
-
Hello, everyone. Is there any tutorial for using ARM cortex-A processors(such as A9 and A53) of Zynq to deal with digital signal processing problems? Please tell me , thanks.