I've wanted to do this for awhile but I'm not sure where to start. I want to write a script that takes emails from my pop account and inserts them in to a mysql table. I found xeoport doing some Google searches but it seems the site is down.
this might be way too much info, but please bear with me! the end result is, i need to do a query that joins tables that exist in different databases on different servers. how do i do that?
anyway, i'm building a site for a real estate guy who's hosted through 1and1. they only allow you to have 100mb of data per database. he's given me ~500mb of property data and ~100mb of property tax data. i split up the property data and kind of spanned it across five db's, then put the tax data in a sixth. each database you create with 1and1 gets dropped on a random server. i'm able to search property data by checking db1, then db2, and so on... and appending the results. i connect to them all like so
//connect to property records 1 db $props1_link = mysql_connect('some_server1','name','pwd') or die ("failed to connect to server 1."); $props1_db = mysql_select_db('db_name1',$props1_link) or die("unable to select property records 1 database: ".mysql_error());
//connect to property records 2 db $props2_link = mysql_connect('some_server2','name','pwd') or die ("failed to connect to server 2."); $props2_db = mysql_select_db('db_name2',$props2_link) or die("unable to select property records 2 database: ".mysql_error());
//connect to taxes db $tax_link = mysql_connect('some_server','name','pwd') or die ("failed to connect to taxes server."); $tax_db = mysql_select_db('tax_db',$tax_link) or die("unable to select tax database: ".mysql_error());
i have one database containing one table on each of the six servers.
i perform a search by constructing the query and looping through the $props... connections, doing this for each
$res = mysql_query($sql,$props1_link) or die($sql.": ".mysql_error());
i dump the results to a csv file, then move on to the next db, append those results, move on, etc., until we have one big csv which i pass to the browser. that all works fine if i only need to query properties.
my problem is that some of his queries need to join the properties table/s with the tax records table. simplified, something like
SELECT p.`name` FROM `properties` AS `p`, `taxes` AS `t` WHERE p.`tax_id` = t.`id`
i've done things like this before with multiple db's on the same server; but here i need to use multiple $links to multiple servers in order perform the query. is that possible? (beyond doing multiple queries to the different db's than comparing results manually.)
regarding my previous problem, i called 1and1 and they said there's no way to get my databases on the same server. whatever process creates your databases through their control panel actually goes out of its way to distribute them on different servers. the only way around this - to exceed the 100mb limit or have multiple db's on the same server - is to rent your own server on a dedicated hosting plan for a minimum of $99/month. no thanks!
so i'm going to switch hosts. i need a host that doesn't limit database sizes beyond overall storage limits, and allows ssh access even with their cheap accounts. cron jobs would be nice but aren't necessary. php5 and mysql and a few gb's of storage.
i don't want to use dreamhost because i've heard too many bad things.
I have MySQL running on a server with a password-protected root user. Is there any way to call the 'mysqladmin shutdown' command without having to provide the password parameter in clear-text?
I swore there was an open source package to do this, but I wanted to monitor in 30 minute increments, the state of a server dedicated to MySQL. Generally its completely dedicated to MySQL, but it also has a number of IDX aggregator scripts that run throughout the day, some of which take up a considerable amount of resources to transform/normalize it. Instead of just giving MySQL everything (resource wise), I wanted to incrementally move up the caches and allocations until its using only what it needs to be at its best.
If there isn't an open source package, I was thinking a cronscript on the machine would work out, but wanted to see if I could save myself the time.
I have two tables "Clients" and "ShippingAddresses" that I am trying to join to output two separate form dropdown boxes. Unfortunately I am only now beginning to use the Join command and so I'm running into issues, and could really use some assistance. Below the cut is my old code:
$grabClients = mysql_query("SELECT Client_ID, Client_Company FROM Clients ORDER BY Client_Company ASC") or die(mysql_error());
if (mysql_num_rows($grabClients) == 0) {
$clientList = "";
$shippingList = "";
} else {
$clientList = "";
$shippingList = "";
while ($loopClients = mysql_fetch_array($grabClients)) {
$grabShipping = mysql_query("SELECT Address_ID, Address_Company, Client_ID FROM ShippingAddresses WHERE Client_ID = '$loopClients[Client_ID]' ORDER BY Address_ID ASC") or die(mysql_error());
if (mysql_num_rows($grabShipping) == 0) {
$clientList .= "";
} else {
$clientList .= "";
$shippingList .= "";
}
}
}
This code, which probably makes many of you cry inside, outputs two variables full of form options. Variable 1 $clientList is just a simple list of clients. Variable 2 $shippingList is a bit more complex in that it shows an OPTGROUP with a label of the Client, and then a listing of all secondary shipping addresses associated with that client.
My attempts at joining were pretty much failures - in two particular areas.
1.) How do I prevent $clientList from outputting duplicate entries for Client names? I have 2 clients and 2 Addresses - both addresses belong to a single client. So on the $clientList it's outputting that client twice.
2.) How do I loop so that for each Address_ID it outputs a new option value? My attempts result in a very odd PHP error about memory limits being exceeded; so I'm sure my loop format is just... broken.
So basically I am designing a database which lists a client_name, client_description, and then a list of images associated with that particular client. This is all stored in a MySQL database. I am not sure how to handle the images though. Each client will have around 6 images. I currently have it set up where every client has its own folder of images and the PHP just reads every image from that folder and displays it.
Would it be a better idea in terms of best practices to instead have an Images Table that keeps track of every image and what client it is associated with?
i need to merge rows in a table where column1 = column1 or column2 = column2 or column1 = column2. i'd like to review the data before i merge it. i'm having trouble constructing a query that returns what i need to see. if the table looked like this:
id name phone_number alt_number 1 bob q. 123-4567 2 jen q. 999-9999 123-4567 3 tom 333-3333 4 jeff 987-0987 334-9130 5 earl 333-3333 111-1111
i'd need a query that returns rows 1,2,3,5 and 6. we're running mysql 4.
I have a client that may need to have a text message interface with their website. What would type of system would we need to receive and send text message in a format that I can work with in php/mysql etc
I'm trying to delete a range of rows in MySQL and coming up broke.
On my command line, I'm doing the following:
mysql> delete from table where table.id in (11700)
Or
mysql> DELETE FROM `table` WHERE `table`.`id` = 11700;
That's great, but, I'll still have 10,000+ more rows to go, and both methods require me to delete rows one by one. I'd rather just delete a range of rows.
I want to only delete rows from 300-11800.Does anyone know how to delete a certain range of rows? Or just tell MySQL to delete a certain range of rows?
Moderator, if this isn't allowed on this forum just let me know.
I get a lot of emails daily for various web dev and programming positions available. I found a good job, but I keep my resume up. Ya never know.
Just feel guilty constantly deleting them when I know someone may need them. Figured I'd at least post them for any coder friends that may be looking for something. I lj-cut it so it wouldn't be too obtrusive.
If these are just found to be crap, let me know and I'll stop passing them on. But some of them at least appear to have potential. They're all fresh over the past 24 hours.
To whoever is currently looking, hope these help! If it's ok, I'll send periodic digests of these if anyone finds them worthwhile.
Hello,
I came across your resume and would to speak with you in regards to 2 immediate Cold Fusion needs in the Radford, VA areas.
Here are the details.
We need people onsite! 40 hour work week schedules
Location/Address: Radford, VA (Southwestern VA)
Start Date: ASAP
Drop Dead Start Date: ASAP
Project End date: N/A
# Of resources need for role: 1
Position Title: ColdFusion Software Engineer
BE Level/ Job classification: Consultant
Required Skill Set (Yrs Exp):
SKILLS: ColdFusion software developer with experience leading the development of software modules.
EXPERIENCE: Proven experience analyzing system requirements, guiding overall application development and individual module development. Direct involvement in application development, maintenance and operations of an application environment involving Microsoft SQL Server back-end with Macromedia ColdFusion middleware running on Microsoft IIS webservers.
Specific education and experience requirements include: 1. Minimum 4-year technical degree in Computer Science, Information Technology, or related field from accredited institution 2. Minimum 1 year general programming experience and an additional 1 year experience in web-based application development 3. Minimum 1 year experience with design, development and maintenance of ColdFusion-based online software applications 4. Practical experience in MS SQL Server (v7 or higher) database design, operations, and maintenance involving extensive structured query language (SQL) usage and development of complex queries and procedures 5. Practical experience with MS SQL Server (v7 or higher) database administration 5. Must be a US Citizen 6. Prefer current active Department of Defense (or capable of attaining) Secret Clearance
Preferred Skill Set
Will also consider candidates with Java and JSP experience.
Job#2
Location/Address: Radford, VA (Southwestern VA)
Background of Project:
Start Date: ASAP
Drop Dead Start Date: ASAP
Project End date: N/A
# Of resources need for role: 1
Position Title: Web Page Designer
BE Level/ Job classification: Sr Systems Analyst
Required Skill Set (Yrs Exp):
The candidates we are seeking should be self starters, interested in seeking new ways to help this customer innovate and provide state of the art web design capabilities to DoD customers.
Technical & functional requirements:
- 1-2 years ColdFusion development experience using Version 6.0 or 7.0 (prefer 7.0) - 1-2 years experience with Enterprise level database design including stored procedures and functions. - working knowledge of the Fusebox design methodology, using version 3.0 or higher to develop robust web applications. - proficient with use of Visual Mind software, version 7 - demonstrate ability to elicit requirement definitions from customers, then convert those specifications into realistic software development projects, and further develop a schedule in MS Project for task delegation and performance tracking. - US Citizen
Preferred Skill Set
XHTML or similar browser based scripting development, web services development experience a plus. - Cascading Style Sheet development using CSS v2.0 or later preferred. - Microsoft SQL Server 2000 database design experience preferred.
Please forward me an updated word copy of your resume and give me a call.
Thanks!
Ray Santos | 1-800-627-8323 x9509 | rsantos@mastech.com Mastech | 1000 Commerce Drive Pittsburgh, PA 15275 | Ph:1.888.330.5497 x 9509
Fax: 412-291-3037
Mastech respects your privacy. We will not share your resume or contact details with any of our clients without your consent.
Greetings!!!!!!
VIVA USA INC., (www.viva-it.com) is an IT consulting firm headquartered in Rolling Meadows , IL servicing clients nationwide. We specialize in IT, telecom, engineering Staffing Solutions and system integration
Please respond with your word document résumé, hourly rate, availability, visa status and relocation details to. recruit07@viva-it.com. One of our recruiters will get back to you ASAP. Kindly find below the job description.
POSITION : Web Designer
LOCATION : Columbia , SC
DURATION : 6 Months
Job Description : To create a new web site to replace the old web site.
Required Skills: Web Developer, Web Site Design, Dreamweaver
Optional Skills: .Net, XML
Sukanya
Viva USA INC, Chicago IL
Phone: 847-448-0727 Ext 207
Fax: 847-483-1317
www.viva-it.com
An ISO 9001:200 & CMMi M/WBE Company
I saw your resume on Careerbuilder and thought you may be interested in this opportunity. BMW Manufacturing is looking to hire a Web developer for some contract work in their Greer, SC plant. I’ve included the details below. If you are interested, or know someone who may be, please contact me ASAP. I look forward to hearing from you soon.
Sincerely,
Aaron C. Fisher Sr. Account Representative Information Technology Division Greytree Partners, LLC
Entry Level – Web Developer Opportunity at BMW Manufacturing in Greer , South Carolina Client: BMW Manufacturing Job Title: Web Developer / Designer Assignment Length: 3 to 4 Weeks Shift: 1st / Full time Responsibilities: Update / refresh current departmental web content. Evaluate simple content management alternatives. Start Date: 23 April 2007 Estimated End Date: 31 May 2007 Required Skills: HTML Pre-Employment: Drug screen, background check (no education required).
I have an exciting opportunity available for a PHP developer. I know the location may not be ideal but I felt it would be worth a look.
Location: Las Vegas, NV
Length: Contract to Hire/Direct Hire
Rate: Depends on experience
Required Skill Set:
Extensive advanced PHP experience Back end PHP programming experience Experience with PHP 5 Experience with MySQL Strong understanding of advanced Object Oriented Programming principles is a must
For further consideration, please email your resume in Word format to cwander@yorksolutions.net.
Thank You!
Christi Wander York Enterprise Solutions cwander@yorksolutions.net
Good afternoon,
I came across your resume today on Monster.com and I have a position available that your skill set seems to match quite well. We are looking for a L.A.M.P. (Linux, apache, MySql, PHP) Developer candidate for a full time permanent opening in Toledo . This position is available with a great Online Bill Payment company, headquartered in Toledo and Washington D.C. This position is looking to go permanent in the 35 – 50K range, dependent upon experience. Ultimately, we are looking for someone with at least 3-5 years experience; comfortable in a lead type of role. If you are interested in discussing this opening with me, please feel free to email or call me at your earliest convenience.
I look forward to speaking with you soon,
Carl
Carl Saad Manager of Branch Recruiting T 734-462-9505 F 734-462-6443 csaad@otterbase.com www.otterbase.com
Hello! My name is Kristie Butler and I work for Procom Services, an IT Staffing Company. I am currently seeking a Web Designer for a 6 month contract position based in Columbia, SC. This position requires the following:
The client is lookikng to create a new web site to replace the old web site. They are a Windows Department and they are looking for a public and private side (logon) in Web site. This will be a temp position, possible temp to hire position.
Required Skills:
Web Developer Web Site Design Dreamweaver Organizational Skills Written Communication Skills Adobe Photoshop Windows XP .Net XML
If you feel you possess these skills and you are interested in this position, please send a current word document of your resume to kristieb@procomservices.com.
I'm running Apache 2.2 from wamp (so I have PHP5 and MySQL 5, though I don't think it has anything to do with them) on Windows XP. Anyway.
I can access everything fine using "localhost", and a friend told me that I could access my server by just using my computer's name. So I named my computer "nemo-serv" (all my electrical devices are named after characters from Finding Nemo, my laptop is Nemo,) and then could use nemo-serv fine, just like localhost.
Then I changed something, and I just get a "You don't have permission to access this directory" when using nemo-serv, though localhost is still fine. I really have no idea what I changed that could have done this, but I was hoping you guys would be able to point me in the right direction.
I am currently working on 2 great jobs for Linux-loving database folk.
1-MySQL and PHP software engineer in PA near Philly (NE). This is for a young software co founded by a guru who had already built another company. He wants hot programmers who will grow with the company. He currently is looking for a Sr person as well as 1-2 junior folk.
1- Linux DBA in Utah - a company with several websites and millions of pageviews and transactions/day. Needs both senior and junior database tuners to keep their PostgreSQL DBS running smoothly. Every millisecond counts. He will take people w/ MySQL and Linux admin and perl background for the junior position. Full benefits, great work and flexible working conditions, and powder days!
My email is on my info page if you want to pass this on. Thanks!
тут вот родные белоруские программеры такое пишут:
SELECT id AS SubSectionLink, content as brief
FROM network
WHERE ((title LIKE '%lamers%')
OR (content LIKE '%lamers%')
OR (title LIKE '%LAMERS%')
OR (content LIKE '%LAMERS%')
OR (title LIKE '%LaMeRs%')
OR (content LIKE '%LaMeRs%')
)
не знаю как там MySQL, может он и оптимизирует такие условия :)
Mantis is popular php based defect tracking application which works on top of RDBMS like MySQL and PostgreSQL. Recently I ported our Windows based Mantis installation to Linux. It used MySQL as backend. Here are the steps:
1. Export Mantis MySQL database from Windows, upload it on Linux and then import it to MySQL database on [...]
Hello, I'm a new mysql user. I had download the GUI mysqlcc (mysql control center) from source forge. I didn't find any user guide or reference book for this tool on the internet. Please, do you know if it is available anywhere? Thank you in advance for yours answer.
Writer Rodney Gedda at Computerworld writes that aQuantive, the online ad agency Microsoft is buying for $6 billion, is an open source play.
The reason? Many aQuantive units, including AvenueA Razorfish and Atlas, make extensive use of open source software, including mySQL, Linux, and Apache.
If you use open source, are you ...
Howdy. I have a MySQL 5.0.41 (community) installed on my home computer under win32. When phpMyAdmin starts, I get a 2003 (server is not responding) error.
Judging from what the console tells me (was checked via "sq query mysql"), MySQL service starts successfully (state: 4 RUNNING) and runs. Until the moment any site from localhost tries to connect to MySQL - after that the service crashes (with win32 exit code 1067).
Didn't find an answer on the web (didn't search thoroughly enough, perhaps). Can someone point me to a solution for this problem, or some further diagnostics?