MySQL 5.5.17 configure.sh Location? - mysql

So I recently downloaded MySQL 5.5.17, and I'm trying to build it from source on my computer. The problem is, I can't seem to find the configure.sh script. I'm fairly certain I downloaded the source code version (mysql-5.5.17.tar) from the MySQL website, which can be found by selecting the "Source Code" drop down on the MySQL dowload page here.
Does anyone know if they changed the location of the script? I feel like I'm missing something obvious, but I just can't seem to find it. Any help would be appreciated. Thanks.

In order to build MySQL 5.5, you need to use CMake.
See http://lenzg.net/archives/329-MySQL-5.5-CMake-replaces-autoconfautomake-on-all-platforms,-support-for-autotools-has-now-been-removed.html

Related

Having trouble importing a database

I'm learning SQL for the first time but I'm running into some problems. I purchased a book called "Learning SQL" (O'Reilly).
First off, the book asked me to download mySQL v6.0. I couldn't find it and the URL in the book redirected me to a download page for mySQL Community Server 5.7. I assume this is the latest version of the same package. I downloaded the installer and installed without any problems. Is this the correct software needed?
Then I tried following the instructions for the command line input, but it didn't work out. I downloaded an example sql database, but I'm having trouble importing it. Is there a guide available to do this?
Sorry if my questions are really newbish. Any help is appreciated. Thanks in advance.
If you want learn clean SQL - without any specials of Oracle Database, PL/SQL and something like that, then you can comfortably make it with any database what you find. :-)
Basic SQL is not dependent on any database software or their version.
Edit: If you have 2005 edition - it´s really independent on any SQL server.

AdventureWorks Sample DB

Could someone please help me with this. I would like to install the AWDB sample database to use with SharePoint 2010 on my Win7 dev system.
So SQL 2008 Express.
I have tried to download various things from codeplex, basically because I don't know the difference between the types. I have tried to look this up online in some blog posts but none of what I find/follow seem to work.
I think this is where I need to download what I need here, but I am not sure what I need exactly. At this point I am just trying to get the db in SQL right now, and I am maybe novice with sql at that point, but really just want to start experimenting with BCS in SP2010 anyway.
Any takers helping a rookie? Always appreciated! Thanks guys!
AdventureWorks2008R2-Full Database Backup.zip would be fine.
Then in SQL Express use:
restore database [database_name] from disk = 'backup path'
with move 'AdventureWorks2008R2_Data' to '<database_data_file_path>\<filename>.mdf',
move 'AdventureWorks2008R2_Log' to '<database_log_file_path>\<filename>.ldf'

How to set up twitter open source mysql file after getting it from Github?

Another noob question. I downloaded the open source mysql file from this link: https://github.com/twitter/mysql. After that, I have no clue how I set it up. I have Wamp installed in my PC. I'm trying to study the twitter mysql tables from the file. Please help, thanks.
That doesn't contain the tables used by Twitter; it contains a modified version of the mySQL server used by Twitter.
If you want to use it, you will need to build it from source.
However, as the README very clearly states, you should not use it.

How to copy only the content of drupal installation (migration)?

I have been told to upgrade Drupal website from very old version (probably 4) to the newest one (7). I tried different approaches, without success, due to various incompatibilities. I guess the best way to do that is to freshly install Drupal 7, copy the template and then the database. However, probably if I just copy database from old version it won't work, because even the table names are different. So my question is: is there a way to do that, i.e. to copy somehow only nodes and upload it to the new installation? Or maybe some other way? Has anybody approached this problem in the past?Any advice will be appreciated.
There is a very similiar question here: Is it possible to upgrade Drupal from very old version(4) to the newest one(7)?

How to add a version number to an Access file in a .msi

I'm building an install using VS 2003. The install has an Excel workbook and two Access databases. I need to force the Access files to load regardless of the create/mod date of the existing databases on the user's computer. I currently use ORCA to force in a Version number on the two files, but would like to find a simpler, more elegant solution (hand editing a .msi file is not something I see as "best practice".
Is there a way to add a version number to the databases using Access that would then be used in the install?
Is there a better way for me to do this?
#LanceSc
I don't think MsiFileHash table will help here. See this excellent post by Aaron Stebner. Most likely last modified date of Access database on client computer will be different from its creation date. Windows Installer will correctly assume that the file has changed since installation and will not replace it.
The right way to solve this (as question author pointed out) is to set Version field in File table.
Unfortunately setup projects in Visual Studio are very limited. You can create simple VBS script that would modify records in File table (using SQL) but I suggest looking at alternative setup authoring tools instead, such as WiX, InstallShield or Wise. WiX in my opinion is the best.
Since it sounds like you don't have properly versioned resources, have you tried changing the REINSTALLMODE property?
IIRC, in the default value of 'omus', it's the 'o' flag that's only allowing you to install if you have an older version. You may try changing this from 'o' to 'e'. Be warned that this will overwrite missing, older AND equally versioned files.
Manually adding in versions was the wrong way to start, but this should ensure that you don't have to manually bump up the version numbers to get them to install.
Look into Build Events for your project. It may be possible to rev the versions of the files during a build event. [Just don't quote me on that]. I am not sure if you can or not, but that would be the place I would start investigating first.
You should populate the MsiFileHash table for these files. Look at WiFilVer.vbs thtat is part of the Microsoft Platform SDK to see how to do this.
My other suggestion would be to look at WiX instead of Visual Studio 2003 for doing installs. Visual Studio 2003 has very limited MSI support and you can end up spending a lot of time fighting it, rather than getting useful work don.